php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ninzya at inbox dot lv
New email:
PHP Version: OS:

 

 [2009-11-15 11:11 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-15 17:36 UTC] jani@php.net
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] 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 14:07 UTC] ninzya at inbox dot lv
Excuse me for this, i will try to be more attentive next time.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 01 20:01:36 2025 UTC