|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2006-05-11 15:28 UTC] Jared dot Williams1 at ntlworld dot com
Description: ------------ max_execution_time seems to be in affect for interactive CLI sessions 5.1.4 & 5.2 both exhibit the problem. Reproduce code: --------------- E:\php-5.1.4-Win32>php -a Interactive mode enabled <?php Fatal error: Maximum execution time of 60 seconds exceeded in E:\php-5.1.4-Win32\- on line 3 Expected result: ---------------- max_execution_time to be disabled/infinite. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 12:00:01 2025 UTC |
The bug does not just affect interactive sessions but normal CLI operations as well. Try put the following code in a file: <?php for($i = 0; ; ++$i) { echo $i."\n"; sleep(1); } ?> Then run it at the command prompt: c:\>php loop.php After running for about 60 seconds, the following error occurs: Fatal error: Maximum execution time of 60 seconds exceeded in C:\temp\loop.php on line 6