note 77437 added to function.mssql-connect
| From: | chop_01 at yahoo dot com | Date: | Wed, 29 Aug 2007 20:39:01 +0000 |
| Subject: | note 77437 added to function.mssql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-129885@lists.php.net to get a copy of this message | ||
1. Installed the SQLServer in mixed auth mode
2. Checked that the mssql.secure_connection = Off was present in the php.ini
3. Copied the ntwdblib.dll file into
o WINDOWS\SYSTEM32
o program files\apache2\bin
o php
4. Started the SQL Server Browser Service
5. Enabled all of the IPs in Protocols > TCP/IP
6. Restarted the following services:
o Apache
o SQL Service
o SQL Browser Service
This allowed me to connect with no problems using the following parameters within my mssql_connect
call
HOST=.\SQLEXPRESS
USERNAME=sa
PASSWORD=<MYPASS>
----
Server IP: 80.241.173.254
Probable Submitter: 84.92.176.187
----
Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php
Edit -- https://master.php.net/note/edit/77437
Del: integrated -- https://master.php.net/note/delete/77437/integrated
Del: useless -- https://master.php.net/note/delete/77437/useless
Del: bad code -- https://master.php.net/note/delete/77437/bad+code
Del: spam -- https://master.php.net/note/delete/77437/spam
Del: non-english -- https://master.php.net/note/delete/77437/non-english
Del: in docs -- https://master.php.net/note/delete/77437/in+docs
Del: other reasons-- https://master.php.net/note/delete/77437
Reject -- https://master.php.net/note/reject/77437
Search -- https://master.php.net/manage/user-notes.php