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

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-apache (Nobody)
<apache@FreeBSD.org> for maintainer-feedback:
Bug 254752: www/apache24: event_mpm requires PHP ZTS which conflicts with D=
EBUG
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254752



--- Description ---
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!



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