maintainer-feedback requested: [Bug 219445] www/mod_auth_mysql_another segfaults when PHP mysql is compiled with ZTS (Thread-Safety)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon May 22 03:06:06 UTC 2017
amistry at am-productions.biz has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to apache at FreeBSD.org:
Bug 219445: www/mod_auth_mysql_another segfaults when PHP mysql is compiled
with ZTS (Thread-Safety)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219445
--- Description ---
Created attachment 182789
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182789&action=edit
Link against thread-safe libmysqlclient
When this module is built and PHP is also build with ZTS (Thread-Safety) then
this will cause Apache to segfault. Forcing it to link against the _r
thread-safe version of the libmysqlclient library fixes the problem. A crude
patch is attached, but there should be a better way to specify WITH_THREADS or
something like that.
More information about the freebsd-apache
mailing list