note 68115 added to function.mssql-connect
| From: | munckfish dot net at osu1 dot php dot net | Date: | Thu, 13 Jul 2006 17:55:32 +0000 |
| Subject: | note 68115 added to function.mssql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-114741@lists.php.net to get a copy of this message | ||
Further to the following posts on Windows 2003 + PHP5 + SQL Server Express.
http://php.net/manual/en/function.mssql-connect.php#58787
http://uk2.php.net/manual/en/function.mssql-connect.php#61971
I ran into another problem when I updated the version of ntwdblib.dll. I picked up version
2000.80.2039.0 from an SQL Server 2000 installation. However, when I replaced the PHP 5 provided
version with this one and restarted IIS, phpinfo() showed that the mssql extension wasn't
loading anymore. I couldn't see any errors reported in browser nor the system error logs.
By chance I decided to run 'php -i' on the command line. This was lucky because running it
this way a system error dialog popped up a warning about a missing DLL dependency.
The problem was that the new ntwdblib.dll had a dependency on MSVCR71.DLL which couldn't be
found in IIS' path. I did a search for msvcr*.dll in C:\\WINDOWS and found a copy of this DLL
in C:\\WINDOWS\\Microsoft.NET\\Framework\\v1.1.4322\\. I copied it into my PHP install dir and
restarted IIS. Then when I ran phpinfo() the extension showed up again.
----
Server IP: 83.138.144.80
Probable Submitter: 217.150.115.62
----
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 -- http://master.php.net/note/edit/68115
Del: integrated -- http://master.php.net/note/delete/68115/integrated
Del: useless -- http://master.php.net/note/delete/68115/useless
Del: bad code -- http://master.php.net/note/delete/68115/bad+code
Del: spam -- http://master.php.net/note/delete/68115/spam
Del: non-english -- http://master.php.net/note/delete/68115/non-english
Del: in docs -- http://master.php.net/note/delete/68115/in+docs
Del: other reasons-- http://master.php.net/note/delete/68115
Reject -- http://master.php.net/note/reject/68115
Search -- http://master.php.net/manage/user-notes.php