For Programmers: Free Programming Magazines  


Home > Archive > PHP SQL > August 2004 > php mssql connection problem









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author php mssql connection problem
jeremy108

2004-08-18, 3:57 pm

Windows 2003 server - IIS - 6 and SQL server 2000, php 4.3.5

I have placed the php_mssql.dll in the extensions folder. I have
placed the ntwdblib.dll in the system 32 folder (both the latest
version and the one from the sql 2000 install cd - tried em both) and
I have uncommented the line: extension=php_mssql.dll. After all this,
I still get this message:

Warning: mssql_connect(): Unable to connect to server:
152.135.xxx.xxx,1433

I've tried it using localhost and I get this message:
Warning: mssql_connect(): Unable to connect to server: localhost,1433

The ODBC functions connect perfectly, but not the mssql_connect
functions.

Any ideas?



----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
http://www.phpfreaks.com
http://www.phpfreaks.com/forums


Barand

2004-08-18, 3:57 pm

Have you set up an IUSR_<servername> user in SQLserver to allow
anonymous access from IIS

Barand

http://members.aol.com/barryaandrew...agridguide.html easy
data tables - and more

----------------------------------------
The post originated from PHP Freaks:
----------------------------------------
http://www.phpfreaks.com
http://www.phpfreaks.com/forums


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com