note 26984 deleted from function.mssql-connect by danbrown
| From: | danbrown@php.net | Date: | Sun, 07 Dec 2008 19:50:29 +0000 |
| Subject: | note 26984 deleted from function.mssql-connect by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147883@lists.php.net to get a copy of this message | ||
Note Submitter: cdthompso1 at yahoo dot com
----
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.