php.net |  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
Description:
------------
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-04 07:30 UTC] derick@php.net
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] fmk@php.net
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)
...
#enif

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] jani@php.net
-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] krakjoe@php.net
-Status: Open +Status: Wont fix
 [2015-02-18 07:43 UTC] krakjoe@php.net
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-2019 The PHP Group
All rights reserved.
Last updated: Wed Aug 21 04:01:26 2019 UTC