note 66154 added to function.mssql-connect
| From: | brijeshmathew at yahoo dot com | Date: | Tue, 16 May 2006 07:58:41 +0000 |
| Subject: | note 66154 added to function.mssql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-111360@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 66.163.161.117
Probable Submitter: 62.215.3.66
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php
Edit -- http://master.php.net/note/edit/66154
Del: integrated -- http://master.php.net/note/delete/66154/integrated
Del: useless -- http://master.php.net/note/delete/66154/useless
Del: bad code -- http://master.php.net/note/delete/66154/bad+code
Del: spam -- http://master.php.net/note/delete/66154/spam
Del: non-english -- http://master.php.net/note/delete/66154/non-english
Del: in docs -- http://master.php.net/note/delete/66154/in+docs
Del: other reasons-- http://master.php.net/note/delete/66154
Reject -- http://master.php.net/note/reject/66154
Search -- http://master.php.net/manage/user-notes.php