PHP :: Bug #37306 :: max_execution_time = max_input_time
| Bug #37306 | max_execution_time = max_input_time | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2006-05-04 12:42 UTC | Modified: | 2006-05-11 22:12 UTC |
|
||||||||||
| From: | php at placebo dot demon dot nl | Assigned: | dmitry (profile) | |||||||||||
| Status: | Closed | Package: | PHP options/info functions | |||||||||||
| PHP Version: | 5CVS-2006-05-04 (snap) | OS: | * | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2006-05-04 12:42 UTC] php at placebo dot demon dot nl
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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2006-05-04 13:32 UTC] n dot escuder at intra-links dot com
[2006-05-04 19:37 UTC] subscription at nazarenko dot net
[2006-05-04 20:04 UTC] subscription at nazarenko dot net
[2006-05-11 22:12 UTC] dmitry@php.net