Bug #81324 [PATCH]: php-fpm will not set syslog ident for children

From: Date: Tue, 03 Aug 2021 07:30:23 +0000
Subject: Bug #81324 [PATCH]: php-fpm will not set syslog ident for children
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235541@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81324&edit=1 ID: 81324 Patch added by: erik@coretech.se Reported by: erik at coretech dot se Summary: php-fpm will not set syslog ident for children Status: Open Type: Bug Package: *General Issues Operating System: CentOS 7 PHP Version: 8.0.9 Block user comment: N Private report: N New Comment: The following pull request has been associated: Patch Name: Bug #81324 php-fpm will not set syslog ident for children On GitHub: https://github.com/php/php-src/pull/7334 Patch: https://github.com/php/php-src/pull/7334.patch Previous Comments: ------------------------------------------------------------------------ [2021-08-03 06:37:24] erik at coretech dot se Description: ------------ When loggning to the syslog from php-fpm. Forked children will inherit the value indicating that openlog already has been run even though closelog() as been called. Test script: --------------- <?php brokensyntax phpinfo(); Expected result: ---------------- Aug 2 15:49:22 testserver journal: php[4209]: PHP Parse error: syntax error, unexpected identifier "phpinfo" in /var/www/html/test.php on line 3 Actual result: -------------- Aug 2 15:49:22 testserver journal: ool www[4209]: PHP Parse error: syntax error, unexpected identifier "phpinfo" in /var/www/html/test.php on line 3 ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=81324&edit=1

« previous php.bugs (#235541) next »