From: elebihan at sarl-roux dot fr Operating system: Windows 2000/2003/XP PHP version: 5.2.6 PHP Bug Type: MSSQL related Bug description: Wrong DLL Shipped with windows release PHP 5.2.6
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 bug report at http://bugs.php.net/?id=46328&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46328&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46328&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46328&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46328&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46328&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46328&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=46328&r=needscript Try newer version: http://bugs.php.net/fix.php?id=46328&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46328&r=support Expected behavior: http://bugs.php.net/fix.php?id=46328&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46328&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46328&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46328&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46328&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46328&r=dst IIS Stability: http://bugs.php.net/fix.php?id=46328&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46328&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46328&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46328&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=46328&r=mysqlcfg