View Full Version : PHP + MSSQL application

03-07-2009, 12:17 PM

I am trying to run PHP+MSSQL application. Don't ask me why, it has to be that way :D

The PHP files are on my local machine, and the MSSQL database on a windows web server. From that side I believe everything is OK.

But the problem is in my local PHP settings.

I did the following:

1) uncommented the lines: "extension=php_mssql.dll" and "extension=php_pdo_mssql.dll" in all kinds of php.ini files found in my XAMPP folder
2) downloaded "ntwdblib.dll" file and put it into php folder

But there is still no success.

Is there any additional setup or configuration to be done, so the PHP in my localhost can communicate with MSSQL database on a web server?
Anyone with similar experience? How did you solve the problem?

I'm using XAMPP lite 1.6.8

Thank you in any case :D