Bug 841355 - max_execution_time affected by max_input_time
Summary: max_execution_time affected by max_input_time
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: php53
Version: 5.8
Hardware: i686
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Remi Collet
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-18 18:39 UTC by Christopher Cross
Modified: 2023-09-14 23:56 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-12-02 15:57:30 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
PHP Bug Tracker 49868 0 None None None 2012-07-18 18:39:24 UTC

Description Christopher Cross 2012-07-18 18:39:24 UTC
Description of problem:
With php53 we are having the same problem described at https://bugs.php.net/bug.php?id=49868. We decided to move to php53 after using a php-5.2 and uncovered the problem while testing one of our applications. 

max_execution_time gets the value of max_input_time. phpinfo() reported our correct setting of "max_execution_time 360" from php.ini but we still received "PHP Fatal error:  Maximum execution time of 60 seconds exceeded in Unknown on line 0" in the httpd/error_log. After seeing the php bug report and changing the max_input_time to 360 we no longer had this error.

Version-Release number of selected component (if applicable):
php53-5.3.3-13.el5_8

How reproducible:


Steps to Reproduce:
1. Set max_input_time lower than max_execution_time.
2. Run script that takes longer than max_input_time.
3. Find error in log.
  
Actual results:
PHP Fatal error from execution time.

Expected results:
No error.

Additional info:

Comment 1 Remi Collet 2012-10-09 14:38:28 UTC
Sorry, but I connot reproduce your issue.

    "PHP Fatal error: Maximum execution time of 60 seconds exceeded
     in Unknown on line 0"

Line 0 means before execution, so, seems really related to max_input_time.

Can you try the simple script

<?php
echo "phpversion="         . phpversion() . ' | ' .
     "max_execution_time=" . ini_get('max_execution_time') . ' | ' .
     "max_input_time="     . ini_get('max_input_time');
while(true);


Should raise a 

   "Fatal error: Maximum execution time of 9 seconds exceeded
    in /var/www/html/long.php on line 5"

Comment 2 Joe Orton 2013-12-02 15:57:30 UTC
In the absence of further feedback, we are unable to help further with this issue. and it is therefore being closed.  If you need further assistance, please contact your Red Hat support representative.

Comment 3 Red Hat Bugzilla 2023-09-14 23:56:59 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


Note You need to log in before you can comment on or make changes to this bug.