php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17321 Enabling Extensions for sybase and mssql cause duplicate name registration
Submitted: 2002-05-20 18:46 UTC Modified: 2002-05-20 21:20 UTC
From: nhazelwood at owenstransport dot co dot nz Assigned:
Status: Closed Package: PHP options/info functions
PHP Version: 4.2.1 OS: Win2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: nhazelwood at owenstransport dot co dot nz
New email:
PHP Version: OS:

 

 [2002-05-20 18:46 UTC] nhazelwood at owenstransport dot co dot nz
Enabling the extensions for php_sybase_ct.dll and PHP_Mssql.dll cause a duplicate name error resulting in sybase_ct library no being available. Currently to use the 2 types of database I use an AODB connection for one but it is alot slower than using the sybase_ct library .
This has been apparent with all versions of PHP I have tried 
X-Powered-By: PHP/4.2.1 Content-type: text/html; charset=iso-8859-1 PHP Warning: Function registration failed - duplicate name - mssql_connect in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_pconnect in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_close in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_select_db in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_query in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_free_result in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_get_last_message in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_num_rows in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_num_fields in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_fetch_row in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_fetch_array in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_fetch_object in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_data_seek in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_fetch_field in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_field_seek in Unknown on line 0 PHP Warning: Function registration failed - duplicate name - mssql_result in Unknown on line 0 PHP Warning: sybase_ct: Unable to register functions, unable to load in Unknown on line 0 PHP Warning: sybase_ct: Loaded module got lost in Unknown on line 0

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-20 21:20 UTC] edink@php.net
Sybase and mssql use the same communication protocol and you should be able to connect to mssql server using sybase_ct module and the other way around.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 08 23:01:32 2025 UTC