From: ninzya at inbox dot lv Operating system: Windows 7 PHP version: 5.3.1RC4 PHP Bug Type: PHP options/info functions Bug description: max_input_time should not be taken in count after request data is processed
Description: ------------ INI configuration option max_input_time affects max execution timing. I have set max_execution_time to 0 and max_input_time to 60 (60 is by default), and if my script is being run for more than 60 secs, it's getting terminated with following error - PHP Fatal error: Maximum execution time of 60 seconds exceeded in ... on line 177. If i change value of max_input_time to any other, the value is reflected in the error message. Reproduce code: --------------- <?php // INI config: max_execution_time=0, max_input_time =2; sleep( 3); ?> Expected result: ---------------- No errors, 3 second execution. Actual result: -------------- PHP Fatal error: Maximum execution time of 2 seconds exceeded in ... on line 4 -- Edit bug report at http://bugs.php.net/?id=50180&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50180&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50180&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50180&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50180&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50180&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50180&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50180&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50180&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50180&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50180&r=support Expected behavior: http://bugs.php.net/fix.php?id=50180&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50180&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50180&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50180&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50180&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=50180&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50180&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50180&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50180&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50180&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50180&r=mysqlcfg