Suhail Gupta
Suhail Gupta

Reputation: 23206

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 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.

Upvotes: 1

Views: 2125

Answers (2)

malyy
malyy

Reputation: 874

@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

Upvotes: 1

Suhail Gupta
Suhail Gupta

Reputation: 23206

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

Upvotes: 1

Related Questions