#45523 [Opn->Bgs]: max_execution_time not working as documented
| From: | jani@php.net | Date: | Wed, 16 Jul 2008 09:54:58 +0000 |
| Subject: | #45523 [Opn->Bgs]: max_execution_time not working as documented | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-126810@lists.php.net to get a copy of this message | ||
ID: 45523
Updated by: jani@php.net
Reported By: webmaster at asylum-et dot com
-Status: Open
+Status: Bogus
Bug Type: *General Issues
Operating System: *
PHP Version: 5.2.6
New Comment:
See bug #28572
Previous Comments:
------------------------------------------------------------------------
[2008-07-16 00:04:31] webmaster at asylum-et dot com
Description:
------------
I have found an old bug that I have found twice and has been closed
twice claiming it is fixed. Bugs #37306 and #37408. This has not been
fixed. I have found this issue in bug threads dating back as far as
2006. I have PHP 5.2.5.5 / WinXP SP2 / Apache 2.2.4.0 and PHP is "NOT"
in safe mode. I get the error message Fatal error: Maximum execution
time of 0 seconds exceeded ...
Reproduce code:
---------------
The max_execution_time was set to 0 to allow infinite time since 120
was not enough and had been the previous setting. Come to find out 120
was ample but this bug showed its face. According to the PHP.net
documentation, The maximum execution time, in seconds. If set to zero,
no time limit is imposed. Previous note in the other report was closed
due to no one being able to recreate this error. I have installed this
version of PHP 4 times with the exact same result so it should be rather
simple to recreate since I have 4 times already. Hopefully this receives
an honest attempt at resolving the bug. I would give more info but there
is nothing else except that I see the error when trying to upload files
of only 6 MB.
Expected result:
----------------
max_execution_time = 0 to work as documented
Actual result:
--------------
Scripts fail unless setting max_input_time = 0 as well
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45523&edit=1