PHP PDO sqlsrv Unable to load dynamic library

时间:2016-04-15 14:45:58

标签: php sql-server wampserver sqlsrv

Hi I have wampserver 64 version 2.5, php version 5.5.12 and my operating system windows 10

I downloaded the sqlsrv drivers and I put it here in the directory C:\wamp\bin\php\php5.5.12\ext

and I paste this in my php.ini,

extension=php_pdo_sqlsrv_55_ts.dll extension=php_sqlsrv_55_ts.dll

the php.ini is located here C:\wamp\bin\php\php5.5.12

when I restart the services this is the error will pop up

enter image description here

I don't know how to fix this or is there something wrong that i miss ?

Thank you in advance.

1 个答案:

答案 0 :(得分:3)

As far as I am aware there is no 64bit PHP compatible SQL Server library. You will have to install WAMPServer 32bit. This is not a WAMPServer limitation, its just that Microsoft has not yet completed the 64 bit PHP extension.

Probably they were waiting for PHP7 which is the first truly 64bit version of PHP