note 69118 deleted from function.mssql-connect by danbrown
| From: | danbrown@php.net | Date: | Sun, 07 Dec 2008 19:32:03 +0000 |
| Subject: | note 69118 deleted from function.mssql-connect by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147864@lists.php.net to get a copy of this message | ||
Note Submitter: damartman (tradestudios.com)
----
I am running MS SQL Server 2005 Workgroup Edition on Windows 2003 with PHP 5. I could not connect
to a MS SQL database using mssql_pconnect(); until I read a post from ashraf (aat) ametry.com on
01-May-2006 01:25. However, my fix was simply to:
1. Replace the ntwdblib.dll with the one from http://webzila.com/dll/1/ntwdblib.zip in my c:\php5
folder.
2. Restart IIS
REASON: The ntwdblib.dll should be version 2000.80.194.0, and not version 2000.2.8.0 that PHP 5
ships with.
Thank you ashraf for posting your note, however, changing the php.ini file value
mssql.secure_connection = On did not work. I left it mssql.secure_connection = Off and that worked
(the default to connect through NT/Windows Authentication)