maybe somebody is able to help with the following problem:
I have to install PHP 5.2 on Windows 2008 IIS with MSSQL Support but I'm unable to get MSSQL to work.
- Windows 2008 Server 64bit
- PHP 5.2.17 installed with PHP Manager
- PHP works fine
- php_mssql doesn't (logs errors)
When I add the php_mssql.dll it won't work and it logs this error: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\PHP5.2\ext\php_mssql.dll' - The specified module could not be found. in Unknown on line 0.
I know there is a problem with the ntwdblib.dll which is loaded internally from php_mssql.dll, but the file is in the PHP directory and I copied it everywhere: system32, php\ext etc but nothing works. That helps in previous installations every time in this case, but this is my first Windows 2008 64bit Installation, maybe there is a 64bit problem?
And I know I should use the Microsoft Drivers for PHP for SQL Server but that would lead me to other function calls (sqlsrv_connect instead of mssql_connect) and I have to run an old application which contains mssql_ function calls on this server.