Re: PHP 4.0 Bug #5518: scripts don't time out
| From: | Derick Rethans | Date: | Mon, 10 Jul 2000 21:11:00 +0000 |
| Subject: | Re: PHP 4.0 Bug #5518: scripts don't time out | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24129@lists.php.net to get a copy of this message | ||
Hi,
I reported this bug too (I think), and it is fixed in the latest cvs.
Derick
tomwk@audiogalaxy.com wrote:
> From: tomwk@audiogalaxy.com
> Operating system: Redhat 6.2
> PHP version: 4.0.1pl2
> PHP Bug Type: Misbehaving function
> Bug description: scripts don't time out
>
> We have the time limit setting in the ini set to
> 45 seconds, but that doesn't have any effect. I've
> also tried explicitly setting the time limit, and it
> also has no effect. With or without the call to
> set_time_limit, the script below will go for hours.
>
> <script language=php>
>
> set_time_limit( 10 );
>
> while( true ) {
> echo "sleeping...<br>\n";
> flush();
> sleep( 1 );
> }
>
> </script>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
--
Derick Rethans
JDI Media Solutions
H.v.Tussenbroekstraat 1
6952 BL Dieren
The Netherlands
e-mail: d.rethans@jdimedia.nl
http://www.jdimedia.nl/