Red Hat Bugzilla – Bug 841355
max_execution_time affected by max_input_time
Last modified: 2013-12-02 10:57:30 EST
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):
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.
PHP Fatal error from execution time.
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
echo "phpversion=" . phpversion() . ' | ' .
"max_execution_time=" . ini_get('max_execution_time') . ' | ' .
"max_input_time=" . ini_get('max_input_time');
Should raise a
"Fatal error: Maximum execution time of 9 seconds exceeded
in /var/www/html/long.php on line 5"
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.