php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #81324 php-fpm will not set syslog ident for children
Submitted: 2021-08-03 06:37 UTC Modified: 2021-08-03 12:24 UTC
From: erik at coretech dot se Assigned:
Status: Open Package: FPM related
PHP Version: 8.0.9 OS: CentOS 7
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: erik at coretech dot se
New email:
PHP Version: OS:

 

 [2021-08-03 06:37 UTC] 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

Patches

syslog_openlog.patch (last revision 2021-08-03 06:37 UTC by erik at coretech dot se)

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-08-03 07:30 UTC] erik at coretech dot se
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
 [2021-08-03 12:24 UTC] cmb@php.net
-Package: *General Issues +Package: FPM related
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 30 17:01:29 2024 UTC