note 58605 added to function.mssql-connect

From: Date: Wed, 09 Nov 2005 13:23:37 +0000
Subject: note 58605 added to function.mssql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-98325@lists.php.net to get a copy of this message
I encounter the same intermittent connection problem (cf dave at phantomfish 's note), with MsSQL Server 2000 (not MSDE) : /* Config */ OS : Windows 2003 Server WebServer : IIS 6 PHP : 5.0.4 Database : MsSQL Server 2000 SP3 /* Remarks */ - All DLLs are up to date (ntwdlib.dll, php_mssql), - Network connections, SQL Client configs (TCP/IP, aliases, named-pipes) have been checked, - PHP can connect to the database without issue with ODBC functions and ADODB object, - There is NO clue of any connection error in the event manager - Other servers with same configuration, same DLLs version work perfectly - Strangest of all : the connection was Ok at the beginning, and there has not been any config modification (as far as I know - I was not in charge of this server) => So it seems that mssql_connect problem can occur when connecting to an MsSQL Server 2000 and not only when connecting to an MSDE. => It may not be caused by an obsolete ntwdlib. => It may be related to some obscure MsSQL configuration option, or security policy. /* More */ As ODBC neither ADODB are a solution (in my case), I *will* have to find the causes of this problem. I will consequently post the solution as soon as possible. ---- Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+58605 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+58605&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+58605&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+58605&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+58605&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+58605&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+58605&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+58605&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+58605&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#98325) next »