ID:               46328
 User updated by:  elebihan at sarl-roux dot fr
 Reported By:      elebihan at sarl-roux dot fr
 Status:           Bogus
 Bug Type:         MSSQL related
 Operating System: Windows 2000/2003/XP
 PHP Version:      5.2.6
 New Comment:

If for legal reason the new DLL can't be shipped, the oldest should
not. Or at least, not in the default directory, with the name windows is
looking for.
Each release of PHP, we have to delete or replace this DLL. 

Please, delete it from Tree subversion, or rename it to .ratherold or
something like that to avoid conflict with working version!

It don't want to spend time to convert this old PHP website to native
MS SQL.


Previous Comments:
------------------------------------------------------------------------

[2008-10-17 12:47:53] [EMAIL PROTECTED]

We can't update it or use the new versions of the library (legal
reasons). Alternatively you can use MS native driver.

------------------------------------------------------------------------

[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

Reply via email to