php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6550 max_execution_time appears to have an upper limit
Submitted: 2000-09-05 08:07 UTC Modified: 2000-09-05 18:57 UTC
From: paul dot rees at surfeu dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.0 OS: Linux 2.2.16r
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: paul dot rees at surfeu dot com
New email:
PHP Version: OS:

 

 [2000-09-05 08:07 UTC] paul dot rees at surfeu dot com
With... 

...httpd.conf containing the line: "php_value max_execution_time [VALUE > 300]

...phpinfo() showing max_execution_time to be as set above

...the script containing the line: set_time_limit( [VALUE > 300])

...no php.ini file

 the script always breaks off at EXACTLY 5 minutes.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-09-05 14:56 UTC] paul dot rees at surfeu dot com
The apparent upper limit of "max_execution_time" that I reported was actually the effect of the "timeout" setting in httpd.conf.

As far as I'm concerned, this is, in fact, not a bug at all.
 [2000-09-05 15:01 UTC] paul dot rees at surfeu dot com
The apparent upper limit of "max_execution_time" that I reported was actually the effect of the "timeout" setting in httpd.conf.

As far as I'm concerned, this is, in fact, not a bug at all.
 [2015-02-11 14:29 UTC] jazz at teleworm dot com
Setting max execution time makes no difference
There is no "timeout" setting as such in httpd.conf
If you add php_value_max_execution_time in httpd.conf this makes no
difference.
Increasing timeouts such as stream timeouts (i.e. every timeout that exists
in mysql php and httpd config files) makes no difference.
Double checking correct placement of php.ini makes no difference.

In all cases a timeout occurs after 5 minutes. 

11-feb-2015


I would call this a bug.
There should be 1 place and 1 place only for timeouts to occur
that cancel operations. Either way it seems impossible to 
have a mySQL import that does not timeout at 5 minutes no matter how implemented as far as I can establish.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 02 06:01:32 2024 UTC