Re: modifying MAX_EXECUTION_TIME
| From: | Meir kriheli | Date: | Sun, 22 Oct 2000 22:38:22 +0000 |
| Subject: | Re: modifying MAX_EXECUTION_TIME | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21671@lists.php.net to get a copy of this message | ||
On Sun, 22 Oct 2000, Morten Dreier wrote:
> How do I alter MAX_EXECUTION_TIME in a particular script?
> I have a script with heavy db(oracle) load, and it time out.
> I tried a "putenv("max_execution_time=500"), but phpinfo() says it is not
> modified, and the script times out.
> How do I set a new max_execution_time in a particular script?
set_time_limit(int seconds)
You can see it in the manual:
http://www.php.net/manual/html/function.set-time-limit.html
--
Meir Kriheli
MKsoft computer systems
"There's someone in my head but it's not me" - Pink Floyd