Page 1 of 1

mssql_connect()

PostPosted: 14. October 2008 18:12
by catt231
Please help - I'm using the following

SQL Server 2005 (Server 1)

Windows Server 2003 SP2 (Server 2)
XAMPP 1.6.8 (Server 2)

I can't connect to my SQL Database which is on another server, I have tried replacing the ntwdblib.dll in the PHP folder and it made no difference

I can connect via my machine which is running same xampp build but is running Windows XP

I can connect via SQL management studio from PC and via ADODB app I wrote in .NET

Anyone any ideas?
Thanks!

PostPosted: 14. October 2008 19:45
by Wiedmann
I can't connect to my SQL Database

Why not? (error message ...)

I have tried replacing the ntwdblib.dll in the PHP folder and it made no difference

I don't know if this make sense... but the PHP module is using the DLLs from \xampp\apache\bin.

PostPosted: 16. October 2008 10:38
by catt231
Wiedmann wrote:I don't know if this make sense... but the PHP module is using the DLLs from \xampp\apache\bin.


Your a star! That fixed it :)