Bug #68822 [NEW]: php-fpm - the result of access log is wrong when use fpm_request_finished

From: Date: Tue, 13 Jan 2015 04:34:09 +0000
Subject: Bug #68822 [NEW]: php-fpm - the result of access log is wrong when use fpm_request_finished
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189922@lists.php.net to get a copy of this message
From: redfoxli069 at gmail dot com Operating system: linux PHP version: 5.5.20 Package: FPM related Bug Type: Bug Bug description:php-fpm - the result of access log is wrong when use fpm_request_finished Description: ------------ the result of access log is wrong when use fpm_request_finished,such as 1)%t: server time the request was received 2)%d: time taken to serve the request access formate is here: access.format = "%R - %u %t %T %s %{mili}d %{kilo}M %C%%" Test script: --------------- <?php echo "hi\n"; fastcgi_finish_request(); Expected result: ---------------- 127.0.0.1 - 13/Jan/2015:12:30:07 +0800 13/Jan/2015:12:30:07 +0800 200 0.913 256 0.00% Actual result: -------------- 127.0.0.1 - 01/Jan/1970:08:00:00 +0800 13/Jan/2015:12:30:07 +0800 200 3896627338.811 256 0.00% -- Edit bug report at https://bugs.php.net/bug.php?id=68822&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68822&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68822&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68822&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=68822&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=68822&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=68822&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=68822&r=needscript Try newer version: https://bugs.php.net/fix.php?id=68822&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=68822&r=support Expected behavior: https://bugs.php.net/fix.php?id=68822&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=68822&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=68822&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=68822&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68822&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=68822&r=dst IIS Stability: https://bugs.php.net/fix.php?id=68822&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=68822&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=68822&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=68822&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=68822&r=mysqlcfg

« previous php.bugs (#189922) next »