|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #24493 Exclude mssql_* functions from sybase build if ext/mssql is enabled
Submitted: 2003-07-04 07:28 UTC Modified: 2015-02-18 07:43 UTC
From: mattias at segerdahl dot info Assigned:
Status: Wont fix Package: Sybase-ct (ctlib) related
PHP Version: 5.0.0b1 (beta1) OS: All Nix Systems
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2003-07-04 07:28 UTC] mattias at segerdahl dot info
Please configure the configuration script to check if both --with-sybase(_ct) and --with-mssql has been choosen when ./configure is running. This to prevent both modules to register the mssql_* functions


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-04 07:30 UTC]
Extra informations: Both extensions register the same functions, that's why they should not be enabled together at the same time.
 [2003-07-05 16:52 UTC]
I think we should exclude the mssql_* frunctions from the Sybase extensions when we compile on Windows or use --with-mssql on nix.

#f !defined(HAVE_MSSQL) && !define(PHP_WIN32)

should fix this problem, at least one of the extensions are compiled as a shared object. Both modules uses libraries the expose the same object names so it is not possible to link both extensions in the same binary (unless they both link with freetds).
 [2011-01-01 21:08 UTC]
-Summary: ./configure to check if --with-mssql and --with-sybase/--with-sybase_ct is set +Summary: Exclude mssql_* functions from sybase build if ext/mssql is enabled -Package: Feature/Change Request +Package: Sybase-ct (ctlib) related
 [2015-02-18 07:43 UTC]
-Status: Open +Status: Wont fix
 [2015-02-18 07:43 UTC]
The sybase maintainer has backed away from the project, since nobody new has come forward it has been removed in version 7 of PHP.

For this reason, I'm marking the bug as won't fix, it can still be found by any maintainer that might come along and revive sybase as a PECL project.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Jan 27 02:05:53 2023 UTC