php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10764 set_time_limit doesn't work
Submitted: 2001-05-09 16:01 UTC Modified: 2001-05-10 05:16 UTC
From: info at home-page dot de Assigned:
Status: Closed Package: *Function Specific
PHP Version: 4.0.4pl1 OS: Suse 7.0 / Kernel 2.4.4
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: info at home-page dot de
New email:
PHP Version: OS:

 

 [2001-05-09 16:01 UTC] info at home-page dot de
Set_time_limit() is completely ignored. All php.ini-values are on default (especially safe mode is off). For example, execution of the following test-script never stops:

set_time_limit(10);

while(true) {
    echo "sleeping...<br>\n";
    flush();
    sleep(1);
}

This bug has already been descriped in http://www.php.net/bugs.php?id=5518 but the fix provided by Rasmus doesn't seem to work (any longer).

conf-line: './configure' '--with-apache=/home/maverick/src/lamp/apache_1.3.19' '--with-mysql=/usr/mysql' '--with-zlib-dir=/usr/lib' '--with-ftp' '--with-gd' '--with-jpeg-dir=/usr/local/lib' '--enable-versioning' '--enable-track-vars=yes' '--enable-url-includes' '--enable-sysvshm=yes' '--enable-sysvsem=yes' '--with-config-file-path=/etc' '--enable-sockets' '--with-mcrypt' '--with-openssl' '--with-xpm-dir=/usr/X11R6/lib'

Daniel Fuehrer

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-10 05:16 UTC] sniper@php.net
Check this bug report for good explanation why this
can't work:

http://www.php.net/bugs.php?id=8414&edit=1


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 28 09:01:28 2024 UTC