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

From: Date: Mon, 07 Mar 2022 07:47:11 +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-240244@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/8159 Comment Author: unix-world OpenBSD is not using systemd. It is using SystemV like scripts ... but in the way of other BSD platforms (NetBSD or FreeBSD). The content of /etc/rc.d/apache2 startup script: ``` #!/bin/ksh # # $OpenBSD: apache2.rc,v 1.6 2020/12/13 08:45:14 giovanni Exp $ daemon="/usr/local/sbin/httpd2" . /etc/rc.d/rc.subr # mod_perl resets $0 to argv[0] pexp=".*${daemon}.*" rc_reload=NO rc_start() { /usr/local/sbin/apachectl2 graceful ${daemon_flags} } rc_stop() { /usr/local/sbin/apachectl2 graceful-stop ${daemon_flags} } rc_cmd $1 ``` Thus when doing rcctl restart apache2 it uses /usr/local/sbin/apachectl2 graceful-stop which as appears in the logs, will do [mpm_prefork:notice] [pid 80895] AH00170: caught SIGWINCH, shutting down gracefully

« previous php.bugs (#240244) next »