Question

I am using

Ultimate goal: To install wordpress in IIS with MSSQL as DB backend (sqlsrvmethod)

Primary Objective: info.php doesn't shows, "slqsrv".

So trying to install that extension or directive into php. Configuration as below,

  1. Web server - IIS,

  2. mssql driver 3.0,

  3. sqlsrv NOT PDO,

  4. PHP version 5.4.3 (PHP-CGI.exe is being used from D: loaded which is present in wamp/bin/php/php.5.4.3. Since couldn't get any php-cgi.exe along with php file from php.net)

  5. MSSQL 2008

  6. Thread Safety - Enabled, can't able to download php_sqlsrv_54_nts.dll or php_pdo_sqlsrv_54_nts.dll.

  7. Ended up with below, PHP Warning: PHP Startup: Unable to load dynamic library 'D:\wamp\bin\php\php5.4.3\ext\php_sqlsrv_53_ts.dll' - The specified module could not be found.

Was it helpful?

Solution

  1. The php must be installed in the default location of C: drive. Then point it in IIS using PHP manager.

  2. The SQLSRV.v.3.0 must be installed in default location C:

These helped me to resolve the issue easier.

OTHER TIPS

First you must have:

extension=php_sqlsrv_54_ts.dll
extension=php_pdo_sqlsrv_54_ts.dll

in your php.ini file, and both above mentioned drivers must be in "ext" folder of php and you must restart your apache or iis server, then it should show as you expected.....

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top