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

From: Date: Sun, 06 Mar 2022 15:02:05 +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-240230@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8159 Comment Author: unix-world ##### I get back with a feedback I used this patch, based on the patch you proposed: ``` --- ext/opcache/ZendAccelerator.c.orig +++ ext/opcache/ZendAccelerator.c @@ -2940,9 +2940,6 @@ orig_post_startup_cb = zend_post_startup_cb; zend_post_startup_cb = accel_post_startup; - /* Prevent unloading */ - extension->handle = 0; - return SUCCESS; } ``` PHP 8.0 was compiled successfuly. But now is crashing not only in pkill -HUP 1234 (where 1234 is apache2 PID) - but also crashes on "rcctl restart apache2" - and also crashes on "rcctl stop apache2"

« previous php.bugs (#240230) next »