#50377 [NEW]: Maximum execution time of 0 seconds exceeded
From: fdintino at nflc dot org
Operating system: Windows 2003 Server
PHP version: 5.3.1
PHP Bug Type: PHP options/info functions
Bug description: Maximum execution time of 0 seconds exceeded
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 bug report at http://bugs.php.net/?id=50377&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50377&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50377&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50377&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50377&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50377&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50377&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50377&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50377&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50377&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50377&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50377&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50377&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50377&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50377&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50377&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50377&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50377&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50377&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50377&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50377&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50377&r=mysqlcfg
Thread (2 messages)
- fdintino at nflc dot org