RE: [PHP] Re: Fatal error: Maximum execution time
| From: | Jay Blanchard | Date: | Mon, 21 Feb 2005 15:31:59 +0000 |
| Subject: | RE: [PHP] Re: Fatal error: Maximum execution time | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-209129@lists.php.net to get a copy of this message | ||
[snip]
Yes, this may cause error like that, but this occours on different
places I
mean in different included scripts where are not loops at all. Basically
there is only one main loop over main data and some small foreach and
that
can not be infinite. And error happens in different times as well.
[/snip]
You can, script by script, use set_time_limit()
http://www.php.net/set_time_limit and/or you can set
the time limit in
php.ini. You can also do it in the .htaccess file.