Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Apr 2021 22:16:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254752] www/apache24: event_mpm requires PHP ZTS which conflicts with DEBUG
Message-ID:  <bug-254752-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254752

            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@FreeBSD.org
          Reporter: danmcgrath.ca@gmail.com
          Assignee: apache@FreeBSD.org
             Flags: maintainer-feedback?(apache@FreeBSD.org)

Hi,

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) probl=
ems.

The problem is that we are configured for event_mpm and PHP with ZTS, but Z=
TS
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 ZT=
S,
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 re=
ally
need to be using ZTS when using event_mpm. One person in the PHP I was spea=
king
too was actually baffled as to why I ever had ZTS enabled in the first plac=
e,
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
necessary.

Thanks!

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-254752-7788>