none
Can not connect to sql server express 2012 RRS feed

  • Question

  • Dear all.

    I've installed wamp on my first PC (WINDOWS 10). I'm trying to connect my php script (since PC10) to a database on an another PC (windows 8.1). I 'm getting always the same message :

    PDOException: SQLSTATE[IMSSP]: This extension requires the Microsoft SQL Server 2012 Native Client ODBC Driver to communicate with SQL Server. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712

    I' add in my php.in (on W10) the following lines :

      extension=php_sqlsrv_55_ts.dll
      extension=php_sqlsrv_55_nts.dll
      extension=php_pdo_sqlsrv_55_ts.dll
      extension=php_pdo_sqlsrv_55_nts.dll

    and i putted the files in the php/ext directory

    still got the same error message.

    Could someone help?

    Thank you

    Friday, March 11, 2016 8:37 PM

Answers

  • Have you try the hint in the error text?

    This extension requires the Microsoft SQL Server 2012 Native Client ODBC Driver to communicate with SQL Server. Access the following URL to download the Microsoft SQL Server 2012 Native Client ODBC driver for x86: http://go.microsoft.com/fwlink/?LinkId=163712


    Come back and mark replies as answer if they help, and help others with the same problem. If this post is helpful please vote it as Helpful on the left side.

    Friday, March 11, 2016 9:28 PM