Here is the setup:
Server:
-SQL 2000 SP3 on a win2k box
-Firewall set up to allow connections for all ports
ntwdblib.dll version 2.8.0 (newest)
Client:
XP Pro SP2
Apache 2.0.52
PHP 4.3.8.8
ntwdblib.dll version 2.8.0 (copied from server)
extension=php_mssql.dll uncommented
The code looks like this:
$dbinfo = mssql_connect($host,$user,$pass);
$test = mssql_get_last_message();
echo $test;
Here is the response when going to the page:
Warning: mssql_connect(): Unable to connect to server: <server>:1433 in C:\walkin\remedy\test.php on line 3
Also installed on the client machine is the SQL tools from the SQL 2000 CD. It can connect with the same username and password witihout problem.
Any other instance of similar problem that I have been able to find online has involved simply replacing the ntwdblib.dll file. This has not helped.
Does anyone have any suggestions?