简体   繁体   中英

Unable to load php_sqlsrv_55_ts.dll

I am using Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.15 with PHP 5.6.15 both 32 bit . I am unable to load php_sqlsrv_55_ts.dll . I have added extension=php_sqlsrv_55_ts.dll ; DLL for SQL SRV extension=php_sqlsrv_55_ts.dll ; DLL for SQL SRV in php.ini and also kept the respective DLL in the ext directory.

What could be the reason for this?

PS: I downloaded the 32 bit dll file.

@malyy Why is path variable required here? Indeed, it was just a conclusion. as for your post:

I am using Apache/2.4.17 (Win32) OpenSSL/1.0.2d PHP/5.6.15 with PHP 5.6.15
I have added extension=php_sqlsrv_55_ts.dll

Why sqlsrv_55, but not sqlsrv_56 ?

Try to add:

extension=php_sqlsrv_56_ts.dll

Since I am using php 5.6.* , the required DLL had to be php_sqlsrv_56_ts.dll

Microsoft has a compatibility chart: here: #Driver Versions

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM