Hi I am sure someone has come accross this one before...
I can't connect to mssql in php5...however this same script works OK in PHP 4.4.2.
I have enabled the php_mssql.dll and this file exists in my windows\system32 director.y..
but I can't connect to the server and get the following error...
Warning: mssql_connect() [function.mssql-connect]: Unable to connect to server: MyServer in C:\Inetpub\wwwroot\index.php on line 13
Couldn't connect to server.
Any help will be greatly appreciated...
Ian.
I can't connect to mssql in php5...
Moderator: General Moderators
- icarpenter
- Forum Commoner
- Posts: 84
- Joined: Mon Mar 07, 2005 8:12 am
- Location: Kent, England
- icarpenter
- Forum Commoner
- Posts: 84
- Joined: Mon Mar 07, 2005 8:12 am
- Location: Kent, England
Gotit
I had to replace ntwdblib.dll that lives in C:\PHP...
you can find correct ntwdblib.dll here: http://webzila.com/dll/1/ntwdblib.zip
I had to replace ntwdblib.dll that lives in C:\PHP...
you can find correct ntwdblib.dll here: http://webzila.com/dll/1/ntwdblib.zip