|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #13819 MSSQL+SYBASE won't work
Submitted: 2001-10-24 17:55 UTC Modified: 2001-12-19 03:25 UTC
From: utirpan at surfree dot com Assigned:
Status: Closed Package: Sybase-ct (ctlib) related
PHP Version: 4.0.6 OS: Windows NT/2000
Private report: No CVE-ID: None
 [2001-10-24 17:55 UTC] utirpan at surfree dot com
Have MSSQL(7.0) and SYBASE(11.1.1) clients installed on my NT box(SP6a), having PHP 4.0.6 and Apache. 
Using PHP, I can access both Sybase and Mssql remote databases individually(uncommenting one extension at a time). 
If I uncomment both dlls(extensions) in php.ini, it warns about duplicate functions on apache restart. 
It seems that sybase_ct has mssql_xxx function aliasses inside. 


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-18 13:49 UTC]
That is correct, the sybase-ct extension declares both sybase_ and mssql_ functions, and therefor only one of these can be used at the same time.

Can't you use the mssql_ functions from the sybase-ct extension?

 [2001-12-18 22:27 UTC] utirpan at surfree dot com
No, mssql_ functions wont work for sybase_ct. 
I have recompiled php_sybase_ct.dll without mssql_ aliases. 
Now I can use both mssql and sybase at the same time.

 [2003-03-27 09:21 UTC] sebcaron at yahoo dot com

i can't compile the php_sybase_ct.dll with new
alias myself (i haven't got any compiler and im working with php 4.2 under winnt)

and i really need to be able to work both with mssql 7 and sybase 12 !
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Thu Dec 01 13:05:53 2022 UTC