note 69118 added to function.mssql-connect

From: Date: Wed, 23 Aug 2006 19:29:07 +0000
Subject: note 69118 added to function.mssql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-116236@lists.php.net to get a copy of this message
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) ---- Server IP: 64.71.164.2 Probable Submitter: 71.104.46.224 ---- 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 -- https://master.php.net/note/edit/69118 Del: integrated -- https://master.php.net/note/delete/69118/integrated Del: useless -- https://master.php.net/note/delete/69118/useless Del: bad code -- https://master.php.net/note/delete/69118/bad+code Del: spam -- https://master.php.net/note/delete/69118/spam Del: non-english -- https://master.php.net/note/delete/69118/non-english Del: in docs -- https://master.php.net/note/delete/69118/in+docs Del: other reasons-- https://master.php.net/note/delete/69118 Reject -- https://master.php.net/note/reject/69118 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#116236) next »