httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52889] New: ap_mpm_query() change breaks PHP extensions
Date Mon, 12 Mar 2012 17:59:24 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52889

             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
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: kean.johnston@gmail.com
    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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message