[php-src] Issue #8159: Apache / PHP segfaults (PHP 8.0 and 8.1, but also 7.4)

From: Date: Tue, 08 Mar 2022 17:15:31 +0000
Subject: [php-src] Issue #8159: Apache / PHP segfaults (PHP 8.0 and 8.1, but also 7.4)
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-240269@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8159 Comment Author: unix-world I was also tried a different compile scenario. I compiled PHP 8.0.16 as above, win an extra additional flag: --enable-zts In this scenario apache2 refuses to load the PHP opcache. Withoutr "--enable-zts" it loads the opcache but crashes on kill -HUP / _USR1. Everything works OK except opcache ... If I try to load opcache.so apache does not start at all and display the following error in the errors_log: ld.so: httpd2: relocation error 16 idx 3086 Without opcache it works just fine. Isn't opcache supposed to work and be threadsafe (if compiled with ZTS ?).

« previous php.bugs (#240269) next »