note 66154 deleted from function.mssql-connect by danbrown

From: Date: Sun, 07 Dec 2008 19:32:58 +0000
Subject: note 66154 deleted from function.mssql-connect by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147866@lists.php.net to get a copy of this message
Note Submitter: brijeshmathew at yahoo dot com ---- I had problems connecting to MSSQL Server on port 1433 using PHP 5 on Windows 2003 Server. Whenever i tried to connect to database on a remote/local server, php tried to connect using named pipes, instead of connecting on 1433. If i disable Named pipes on the Server, the connection fails. As mentioned in one of the posts,from the \\Windows\\system32\\ folder, i copied and old ntwdblib.dll (dated 2000) to the php folder, and overwrote the newer file, dated 2005, that comes with php5 and suddenly, everything starts working. Php connects to MSSQL Database on port 1433 without problems.

« previous php.notes (#147866) next »