Bug #73999 [Opn->Asn]: php-fpm worker always output uncaught exception to stderr
| From: | bukka@php.net | Date: | Mon, 10 Apr 2017 19:07:03 +0000 |
| Subject: | Bug #73999 [Opn->Asn]: php-fpm worker always output uncaught exception to stderr | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-208457@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=73999&edit=1
ID: 73999
Updated by: bukka@php.net
Reported by: chrisl at cnyes dot com
Summary: php-fpm worker always output uncaught exception to
stderr
-Status: Open
+Status: Assigned
Type: Bug
Package: FPM related
Operating System: Ubuntu 16.04
PHP Version: 7.0.15
-Assigned To:
+Assigned To: bukka
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2017-01-26 04:16:15] chrisl at cnyes dot com
Description:
------------
Looks like php7-fpm worker always output uncaught exception to stderr, event catch_workers_output =
yes.
so my nginx error log always has php exception logs.
Test script:
---------------
[www]
listen = 127.0.0.1:4000
listen.backlog = 128
listen.owner = www-data
listen.group = www-data
listen.mode = 0660
listen.allowed_clients = 127.0.0.1
user = www-data
group = www-data
pm = dynamic
pm.max_children = 5
pm.start_servers = 3
pm.min_spare_servers = 2
pm.max_spare_servers = 5
pm.max_requests = 100
pm.status_path = /status
ping.path = /ping
request_terminate_timeout = 40s
catch_workers_output = yes
chdir = /
env[HOSTNAME] = $HOSTNAME
env[TMP] = /tmp
env[TMPDIR] = /tmp
env[TEMP] = /tmp
Expected result:
----------------
when catch_workers_output = yes, it should only log error with the php-fpm error log file, and
stderr should be empty.
Actual result:
--------------
php7-fpm worker always output uncaught exception to stderr, event catch_workers_output = yes.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=73999&edit=1