Bug #73999 [NEW]: php-fpm worker always output uncaught exception to stderr

From: Date: Thu, 26 Jan 2017 04:16:21 +0000
Subject: Bug #73999 [NEW]: php-fpm worker always output uncaught exception to stderr
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-206961@lists.php.net to get a copy of this message
From: chrisl at cnyes dot com Operating system: Ubuntu 16.04 PHP version: 7.0.15 Package: FPM related Bug Type: Bug Bug description:php-fpm worker always output uncaught exception to stderr 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 bug report at https://bugs.php.net/bug.php?id=73999&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73999&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73999&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73999&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=73999&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=73999&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=73999&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=73999&r=needscript Try newer version: https://bugs.php.net/fix.php?id=73999&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=73999&r=support Expected behavior: https://bugs.php.net/fix.php?id=73999&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=73999&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=73999&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=73999&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73999&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=73999&r=dst IIS Stability: https://bugs.php.net/fix.php?id=73999&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=73999&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=73999&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=73999&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=73999&r=mysqlcfg

« previous php.bugs (#206961) next »