note 88637 modified in function.mssql-connect by danbrown
| From: | danbrown@php.net | Date: | Mon, 02 Feb 2009 19:10:26 +0000 |
| Subject: | note 88637 modified in function.mssql-connect by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-150119@lists.php.net to get a copy of this message | ||
For anyone who have to connect to crappy SQL SERVER with \\computer_name\instance_name and failed to
connect. There are couple of thing you need do.
1). There's no needs to install SQL client software in your app server. This would keep your
server clean.
2). run cliconfg.exe setup alias in case you needed
3). last and most important, do NOT use ntwdblib.dll came with PHP 4.4.x. It's not most
current. The version I'm using is: 8.00.194 with 274,489 Bytes. And make sure you put this file
in your system32 folder.
--was--
For anyone who have to connect to crappy SQL SERVER with \\computer_name\instance_name and failed to
connect. There are couple of thing you need do.
1). Do not look into MSDN, since it's useless as always.
2). There's no needs to install SQL client software in your app server. This would keep your
server clean.
3). run cliconfg.exe setup alias in case you needed
4). last and most important, do NOT use ntwdblib.dll came with PHP 4.4.x. It's not most
current. The version I'm using is: 8.00.194 with 274,489 Bytes. And make sure you put this file
in your system32 folder.
http://php.net/manual/en/function.mssql-connect.php