[nycphp-talk] PHP-CLI Timeout
Scott Mattocks
scott at crisscott.com
Tue Dec 28 10:17:58 EST 2004
Chris Bielanski wrote:
> I'm afraid the set_time_limit(-1); threw an error. I decided to use a bad
> idea to get me through the crunch and I'm calling set_time_limit(60) in my
> processing loops.
Sorry. I gave you bad information. per the Fine Manual again: "If
seconds is set to zero, no time limit is imposed."
>
> per the Fine Manual:
> "When called, set_time_limit() restarts the timeout counter from zero. In
> other words, if the timeout is the default 30 seconds, and 25 seconds into
> script execution a call such as set_time_limit(20) is made, the script will
> run for a total of 45 seconds before timing out."
>
> ...mmmm. Just the kind of ingredients one needs for a dirty hack...
>
> PHP -v tells me I have v. 4.3.4 (cgi-fcgi)
--
Scott Mattocks
scott at crisscott.com
http://www.crisscott.com
http://pear.php.net/user/scottmattocks
More information about the talk
mailing list