ID: 46328 Updated by: [EMAIL PROTECTED] Reported By: elebihan at sarl-roux dot fr -Status: Open +Status: Bogus Bug Type: MSSQL related Operating System: Windows 2000/2003/XP PHP Version: 5.2.6 New Comment:
We can't update it or use the new versions of the library (legal reasons). Alternatively you can use MS native driver. Previous Comments: ------------------------------------------------------------------------ [2008-10-17 12:40:10] elebihan at sarl-roux dot fr Description: ------------ The underlying DLL ntdwdblib.dll shipped with the release windows PHP 5.2.6 version is very old (1998) and not fonctionnal with most SQL Server (2000/2005). If a DLL is to be shipped with PHP, it should be a working one (for example 2000.80.194.0 or newer). If we are supposed to install the DLL by installing the MSSQL Client tool, there should be no included DLL in the PHP Tree. Reproduce code: --------------- $result=mssql_connect($ligne['ip'],$ligne['login'],$ligne['pass']); Expected result: ---------------- Connect to the server and return a valid MS-SQL Link resource. Actual result: -------------- PHP Warning: mssql_connect() [<a href='function.mssql-connect'>function.mssql-connect</a>]: Unable to connect to server: xx.xx.xx.xx ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46328&edit=1