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

From: Date: Tue, 03 Aug 2021 06:37:24 +0000
Subject: Bug #81324 [NEW]: php-fpm will not set syslog ident for children
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-235540@lists.php.net to get a copy of this message
From: erik at coretech dot se Operating system: CentOS 7 PHP version: 8.0.9 Package: *General Issues Bug Type: Bug Bug description:php-fpm will not set syslog ident for children 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 bug report at https://bugs.php.net/bug.php?id=81324&edit=1 -- Fix committed: https://bugs.php.net/fix.php?id=81324&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=81324&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=81324&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=81324&r=needscript Try newer version: https://bugs.php.net/fix.php?id=81324&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=81324&r=support Expected behavior: https://bugs.php.net/fix.php?id=81324&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=81324&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=81324&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=81324&r=globals PHP version support discontinued: https://bugs.php.net/fix.php?id=81324&r=phptooold Daylight Savings: https://bugs.php.net/fix.php?id=81324&r=dst IIS Stability: https://bugs.php.net/fix.php?id=81324&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=81324&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=81324&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=81324&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=81324&r=mysqlcfg

« previous php.bugs (#235540) next »