[php-src] Issue #8159: Apache / PHP segfaults (PHP 8.0 and 8.1, but also 7.4)
| From: | unix-world | Date: | Tue, 08 Mar 2022 14:52:24 +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-240265@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8159
Comment Author: unix-world
https://httpd.apache.org/docs/2.4/stopping.html
The kill -HUP is the correct way as apache documentation specify to do when rotating logs.
On kill -HUP is expected as apache will stop all the childrens but the main process will not exit
and the "Users of [mod_status](https://httpd.apache.org/docs/2.4/mod/mod_status.html) will
notice that the server statistics are set to zero when a HUP is sent".
Until this bug is fixed inside PHP opcache, I can only do
rcctl restart apache2
everytime when logs are rotated ... but this is not ok (but only as a temporary fix) because
proceeding like this the main process of apache is stopped (incl. childrens) and a completely new
process is started when proceeding like this ... and if website visitors are connected they will see
a temporary error.