|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50180 max_input_time should not be taken in count after request data is processed
Submitted: 2009-11-15 11:11 UTC Modified: 2009-11-16 14:07 UTC
From: ninzya at inbox dot lv Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 5.3.1RC4 OS: Windows 7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: ninzya at inbox dot lv
New email:
PHP Version: OS:


 [2009-11-15 11:11 UTC] ninzya at inbox dot lv
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:
// 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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-15 17:36 UTC]
Thank you for not searching the bug database before submitting report 
about already fixed issue. 
 [2009-11-16 11:18 UTC] 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-16 12:13 UTC]
A simple search for max_input_time:

3rd one on the list.  Bug #49868
 [2009-11-16 14:07 UTC] ninzya at inbox dot lv
Excuse me for this, i will try to be more attentive next time.
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Mon Jan 21 11:01:26 2019 UTC