#50180 [Opn->Bgs]: max_input_time should not be taken in count after request data is processed

From: Date: Sun, 15 Nov 2009 17:36:57 +0000
Subject: #50180 [Opn->Bgs]: max_input_time should not be taken in count after request data is processed
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-144636@lists.php.net to get a copy of this message
ID: 50180 Updated by: jani@php.net Reported By: ninzya at inbox dot lv -Status: Open +Status: Bogus Bug Type: PHP options/info functions Operating System: Windows 7 PHP Version: 5.3.1RC4 New Comment: Thank you for not searching the bug database before submitting report about already fixed issue. Previous Comments: ------------------------------------------------------------------------ [2009-11-15 11:11:34] ninzya at inbox dot lv 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 this bug report at http://bugs.php.net/?id=50180&edit=1

« previous php.bugs (#144636) next »