php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64915 error_log ignored when daemonize=0
Submitted: 2013-05-24 08:41 UTC Modified: 2013-05-24 08:41 UTC
From: [email protected] Assigned: remi (profile)
Status: Closed Package: FPM related
PHP Version: 5.4.15 OS: GNU/Linux
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: [email protected]
New email:
PHP Version: OS:

 

 [2013-05-24 08:41 UTC] [email protected]
Description:
------------
error_log is only used when daemonize=1.

This make sense to display message during an interactive / debug run.

Launching php-fpm using systemd (with type=simple of new type=notify), --nodaemonize option is used. So error_log directive is ignored and all messages goes to stdout (catched by systemd and redirected to system log).


Proposal : use error_log configured file if daemonize OR !interactive (using isatty test)


Patches

php-5.5.0-bug64915.patch (last revision 2013-05-24 09:50 UTC by [email protected])

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-05-24 08:41 UTC] [email protected]
-Assigned To: +Assigned To: remi
 [2013-05-24 09:23 UTC] [email protected]
The following patch has been added/updated:

Patch Name: php-5.5.0-bug64915.patch
Revision:   1369387402
URL:        https://bugs.php.net/patch-display.php?bug=64915&patch=php-5.5.0-bug64915.patch&revision=1369387402
 [2013-05-24 09:50 UTC] [email protected]
The following patch has been added/updated:

Patch Name: php-5.5.0-bug64915.patch
Revision:   1369389053
URL:        https://bugs.php.net/patch-display.php?bug=64915&patch=php-5.5.0-bug64915.patch&revision=1369389053
 [2013-05-24 10:11 UTC] [email protected]
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=9f6ca9bc6400fc9c8eaebf963f6eb048dde4b34f
Log: Fixed Bug #64915 (error_log ignored when daemonize=0)
 [2013-05-24 10:11 UTC] [email protected]
-Status: Assigned +Status: Closed
 [2014-10-07 23:19 UTC] [email protected]
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=9f6ca9bc6400fc9c8eaebf963f6eb048dde4b34f
Log: Fixed Bug #64915 (error_log ignored when daemonize=0)
 [2014-10-07 23:30 UTC] [email protected]
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=9f6ca9bc6400fc9c8eaebf963f6eb048dde4b34f
Log: Fixed Bug #64915 (error_log ignored when daemonize=0)
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Jun 30 09:01:32 2025 UTC