[Bug 254752] www/apache24: event_mpm requires PHP ZTS which conflicts with DEBUG

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 3 22:16:06 UTC 2021


            Bug ID: 254752
           Summary: www/apache24: event_mpm requires PHP ZTS which
                    conflicts with DEBUG
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: apache at FreeBSD.org
          Reporter: danmcgrath.ca at gmail.com
          Assignee: apache at FreeBSD.org
             Flags: maintainer-feedback?(apache at FreeBSD.org)


I was debug a PHP74 problem that appears to be constantly crashing our web
server with zend_mm_heap corrupted, seg fault (11) and bus error (10) problems.

The problem is that we are configured for event_mpm and PHP with ZTS, but ZTS
and DEBUG do not play nicely together. On top of this, unless we reconfigure
the system to pre-fork, Apache does not appear to let us compile without ZTS,
and disabling ZTS breaks compilation of a whole bunch of php-extensions when
combined with DEBUG.

While PHP is not necessarily your concern, I am trying to find out if we really
need to be using ZTS when using event_mpm. One person in the PHP I was speaking
too was actually baffled as to why I ever had ZTS enabled in the first place,
until I tried to explain that I can't use event_mpm without it on FreeBSD.

Do you have any ideas as to if ZTS is absolutely needed for event mpm? Worst
case I can try switch to pre-fork, but I would rather avoid it unless


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

More information about the freebsd-apache mailing list