PHP 4.0 Bug #5518: scripts don't time out
| From: | tomwk at audiogalaxy dot com | Date: | Tue, 11 Jul 2000 19:39:28 +0000 |
| Subject: | PHP 4.0 Bug #5518: scripts don't time out | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24120@lists.php.net to get a copy of this message | ||
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>