#37306 [NEW]: max_execution_time = max_input_time
| From: | php at placebo dot demon dot nl | Date: | Thu, 04 May 2006 12:42:26 +0000 |
| Subject: | #37306 [NEW]: max_execution_time = max_input_time | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-96586@lists.php.net to get a copy of this message | ||
From: php at placebo dot demon dot nl
Operating system: Windows 2000
PHP version: 5CVS-2006-05-04 (snap)
PHP Bug Type: PHP options/info functions
Bug description: max_execution_time = max_input_time
Description:
------------
PHP 5.1.3 and up uses the max_input_time php.ini setting for the maximum
execution time of a script. It should you the max_execution_time setting.
correct 5.1.2
wrong 5.1.3
wrong 5.1.5-dev Built On: May 04, 2006 06:30 GMT
Reproduce code:
---------------
php.ini setting:
max_execution_time = 1
max_input_time = 5
code:
$time_end = time() + 10;
while (time() <= $time_end) {
}
Expected result:
----------------
Fatal error: Maximum execution time of 1 seconds exceeded in
c:\Apache\htdocs\site\test.php on line 23
Actual result:
--------------
Fatal error: Maximum execution time of 5 seconds exceeded in
c:\Apache\htdocs\site\test.php on line 23
--
Edit bug report at http://bugs.php.net/?id=37306&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37306&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37306&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37306&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37306&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37306&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37306&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37306&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37306&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37306&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37306&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37306&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37306&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37306&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37306&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37306&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37306&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37306&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37306&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37306&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37306&r=mysqlcfg