note 60427 added to function.mssql-connect
| From: | CharlesLowe at osu1 dot php dot net | Date: | Fri, 06 Jan 2006 17:11:33 +0000 |
| Subject: | note 60427 added to function.mssql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-101313@lists.php.net to get a copy of this message | ||
I found this message in the notes below:
"I spent about a day until get working mssql_connect() function. I tried to connect PHP to
MSDE. The solution is Server Network Utility (it is not installed on MSDE + Client tools
configuration, only on SQL Server Standard/Enterprise). The necessary file SVRNETCN.EXE exists on
the installation disk."
This actually fixed my problem that I was running into on a Windows Server 2003 SP1, IIS 6.0, PHP 4
and MSDE 2000 SP3. I copied the SVRNETCN.EXE and SVRNETCN.DLL (located on the SQL Server 2000
Standard CD folder at: x86\binn) to the C:\Program Files\Microsoft SQL Server\MSSQL\Binn directory
on the SQL server.
I ran the SVRNETCN.EXE from the local folder and "Enabled" the TCP/IP and Named Pipes
protocols. With a quick MSSQLSERVER service restart, everything ran perfectly after that.
Hope this helps.
----
Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+60427
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+60427&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+60427&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+60427&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+60427&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+60427&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+60427&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+60427&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+60427&report=yes
Search -- http://master.php.net/manage/user-notes.php