note 26984 added to function.mssql-connect
| From: | cdthompso1 at yahoo dot com | Date: | Tue, 19 Nov 2002 16:36:24 +0000 |
| Subject: | note 26984 added to function.mssql-connect | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-39704@lists.php.net to get a copy of this message | ||
My config:
webserver - PHP 4.2.3 (from php.net) + W2K SP2 + IIS5
database server - MSSQL2K
My webserver never had the SQL2K client installed so I copied NTWDBLIB.DLL into c:\winnt\system32,
as the instructions stated. Using the NTWDBLIB.DLL that came packaged with PHP, I could not connect
to my database server. I then copied the version of NTWDBLIB.DLL from my database server to
c:\winnt\system32 on the webserver and was immediately able to connect successfully. I assume this
is because I am using MSSQL2K and the NTWDBLIB.DLL packaged with PHP is for MSSQL 7.
NOTE: unlike the user above, when I look at phpinfo() output, the mssql version is still reported
as 7.0, though I am using NTWDBLIB.DLL from a MSSQL2K install (8.0?). Perhaps this is compiled into
the php_mssql.dll and does not come from NTWDBLIB.DLL.
--
http://www.php.net/manual/en/function.mssql-connect.php
http://master.php.net/manage/user-notes.php?action=edit+26984
http://master.php.net/manage/user-notes.php?action=delete+26984
http://master.php.net/manage/user-notes.php?action=reject+26984