php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5518 scripts don't time out
Submitted: 2000-07-11 15:39 UTC Modified: 2000-07-11 18:12 UTC
From: tomwk at audiogalaxy dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.1pl2 OS: Redhat 6.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: tomwk at audiogalaxy dot com
New email:
PHP Version: OS:

 

 [2000-07-11 15:39 UTC] tomwk at audiogalaxy dot com
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>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-11 18:12 UTC] tomwk at audiogalaxy dot com
Derick Rethans sent me some mail to let me know that this has already been fixed in the latest version of cvs.  

see bug 4798 for more details.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 05:01:31 2024 UTC