RE: [PHP-WIN] Timer in Safe Mode
| From: | Mike | Date: | Sat, 18 Dec 2004 03:03:50 +0000 |
| Subject: | RE: [PHP-WIN] Timer in Safe Mode | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-25170@lists.php.net to get a copy of this message | ||
In your php.ini file there's a directive called max_execution_time (in
seconds) - so you don't have to worry about any "forever-running" scripts -
PHP will kill them if they go on past that point anyhow.
Check out the phpinfo() output if you don't have direct access to your
php.ini file - this should be sufficient.
-M
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of MikeA
> Sent: Friday, December 17, 2004 9:51 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Timer in Safe Mode
>
> WinXP SP2
> PHP 4.3.9
> Apache 2.0.52
>
> I have a script which sets a timeout for a script execution
> so it does not go on forever in a loop or whatever. I keep
> getting a message that I cannot set a timer in safe-mode.
> How else can I do this? Is there a way to simulate a timer function?
>
> Thanks.
>
> Mike
>
> --
> PHP Windows Mailing List (http://www.php.net/) To
> unsubscribe, visit: http://www.php.net/unsub.php
>