httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 52889] New: ap_mpm_query() change breaks PHP extensions
Date Mon, 12 Mar 2012 17:59:24 GMT

             Bug #: 52889
           Summary: ap_mpm_query() change breaks PHP extensions
           Product: Apache httpd-2
           Version: 2.4.1
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: regression
          Priority: P2
         Component: Core
    Classification: Unclassified

The change to loadable MPMs and the corresponding change to ap_mpm_query() that
can now only be called after the register hooks phase has unintended
consequences. At least 1 PHP extension I know of breaks as a result of this.
The extension uses ap_mpm_query() to determine if the worker MPM is in use and
disables the extension if this is the case (due to all the myriad issues PHP
has with the worker MPM). This is done during the extension's MINIT phase,
which happens as mod_php is loading and thus before register hooks phase is
complete. The effect is that Apache segfaults. This is an ABI breakage and will
cause lots of issues. Surely changing the ABI shouldn't happen for a minor
release (I mean minor in terms of Apache version, the N in M.N.P).

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message