Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 841355

Summary: max_execution_time affected by max_input_time
Product: Red Hat Enterprise Linux 5 Reporter: Christopher Cross <crcross>
Component: php53Assignee: Remi Collet <rcollet>
Status: CLOSED INSUFFICIENT_DATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.8CC: jorton, rcollet
Target Milestone: rc   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-12-02 15:57:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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