ID: 50377
Updated by: [email protected]
Reported By: fdintino at nflc dot org
-Status: Open
+Status: Bogus
Bug Type: PHP options/info functions
Operating System: Windows 2003 Server
PHP Version: 5.3.1
New Comment:
Duplicate of bug #49868 and already fixed in SVN. Will be in 5.3.2
Previous Comments:
------------------------------------------------------------------------
[2009-12-03 18:46:44] fdintino at nflc dot org
Description:
------------
I would re-open Ticket #42706, but I don't have a login. Issue is the
same:
With the following configuration I get the error message: "Maximum
execution time of 0 seconds exceeded"
max_execution_time = 0
max_input_time = 60
"Maximum execution time of 0 seconds exceeded" is an impossibility;
what's happening is that it's reporting the wrong configuration
variable in the timeout error message.
The issue appears to be that the calls to zend_timeout don't
distinguish between the two types of timeouts
Reproduce code:
---------------
Make sure not to run this on the localhost, because the input time will
likely be less that 1 second in that case
in php.ini:
max_input_time = 1
<?php
set_time_limit(0);
?>
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"
enctype="multipart/form-data">
<input type="file" name="upload_file" id="file" />
<input type="submit" value="submit" />
</form>
Expected result:
----------------
Error message: "Maximum input time of 1 seconds exceeded"
Actual result:
--------------
Error message: "Maximum execution time of 0 seconds exceeded "
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=50377&edit=1