none
php 5.5.10 connect with SQL Server 2012

    คำถาม

  •                 Dear

                            I cannot connect to SQL Server 2012; from fast CGI PHP on IIS7 and windows server 2008 R2 ADM64; using Microsoft Drivers for PHP

    for SQL Server and PHP 5.5.10

                            I uncomment  extension in php.ini  and paste dll file in c:\php\ext already.

                            extension=php_msql.dll

    extension=php_mssql.dll

    extension=php_pdo_mssql.dll

    extension=php_pdo_sqlsrv_53_nts.dll

    extension=php_pdo_sqlsrv_53_ts.dll

    extension=php_pdo_sqlsrv_54_nts.dll

    extension=php_pdo_sqlsrv_54_ts.dll

    extension=php_sqlsrv_53_nts.dll

    extension=php_sqlsrv_53_ts.dll

    extension=php_sqlsrv_54_nts.dll

    extension=php_sqlsrv_54_ts.dll

    and in paste ntwdblib.dll in windows, windows/system32, windowsysWOW64 too.

                           

    but in phpinfo() don’t have table mssql , don’t have sqlsvr .

    1. Php 5.5.10  can connect with Sql server 2012 by extension ->mssql.dll  ? if it can, please tell solution for me.
    2. Php 5.5.10 can connect with Sql server 2012  by extension ->sqlsrv.dll ? if it can, please tell solution for me.

    Thank you very much ,

    14 มีนาคม 2557 6:46

คำตอบ