#50180 [Bgs]: max_input_time should not be taken in count after request data is processed
| From: | ninzya at inbox dot lv | Date: | Mon, 16 Nov 2009 14:07:11 +0000 |
| Subject: | #50180 [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-144672@lists.php.net to get a copy of this message | ||
ID: 50180
User updated by: ninzya at inbox dot lv
Reported By: ninzya at inbox dot lv
Status: Bogus
Bug Type: PHP options/info functions
Operating System: Windows 7
PHP Version: 5.3.1RC4
New Comment:
Excuse me for this, i will try to be more attentive next time.
Previous Comments:
------------------------------------------------------------------------
[2009-11-16 12:13:24] rasmus@php.net
A simple search for max_input_time:
http://bugs.php.net/search.php?cmd=display&search_for=max_input_time&reorder_by=id
3rd one on the list. Bug #49868
------------------------------------------------------------------------
[2009-11-16 11:18:42] ninzya at inbox dot lv
Thank you for the quick reply. I did search the database for the
already fixed issue, and i did not find anything. I did search by
"max_input_time", i did search by "maximum execution time" and got
nothing for PHP 5.3. It was a pleasure to submit bug report, as usual.
------------------------------------------------------------------------
[2009-11-15 17:36:56] jani@php.net
Thank you for not searching the bug database before submitting report
about already fixed issue.
------------------------------------------------------------------------
[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