Re: Script halts after 60 minutes
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Fri, 01 Feb 2008 17:35:14 -0500
Mikhail Kovalev wrote:
On 1 Feb, 20:55, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:Mikhail Kovalev wrote:On 1 Feb, 20:16, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:It looks like you're running PHP as a CGI, not a module. Do you have aMikhail Kovalev wrote:http://07db0bc537297586.paste.se/On 1 Feb, 03:47, Jerry Stuckle <jstuck...@xxxxxxxxxxxxx> wrote:I wouldn't think that would give a 3600 second timeout. Are you runningMikhail Kovalev wrote:Timeout 300 in httpd.conf?Fatal error: Maximum execution time of 3600 seconds exceeded in z:\homeDoes your server have a timeout value specified?
\localhost\www\somefile.php on line 138
php.ini setting fixes default max execution time at 30 sec,
In the script itself I have set_time_limit(0);
I have also tried set_time_limit(90000); with no luck.
Checked if php was running in safe mode, and it wasn't.
Are there any other reasons that can cause this behavior?
Thanks!
mvh
MK
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================
PHP as a module or a CGI? What does phpinfo() show you for your timeout
value?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================
Timeouts Connection: 300 - Keep-Alive: 15
Is this it
timeout set for your CGI's? For instance, if you're using FastCGI it is
an option there, IIRC.
BTW - why are you running PHP as a CGI instead of a module?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@xxxxxxxxxxxxx
==================
OK, figured it out. I used Denwer Apache + php4 distribution (some
years ago) which installs php as cgi
Somehow the cgi mode was preserved through upgrade... Reinstalled and
testing.
Thanks for pointing out the details!=)
Good - glad to see you found it.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: Script halts after 60 minutes
- From: Mikhail Kovalev
- Re: Script halts after 60 minutes
- References:
- Script halts after 60 minutes
- From: Mikhail Kovalev
- Re: Script halts after 60 minutes
- From: Jerry Stuckle
- Re: Script halts after 60 minutes
- From: Mikhail Kovalev
- Re: Script halts after 60 minutes
- From: Jerry Stuckle
- Re: Script halts after 60 minutes
- From: Mikhail Kovalev
- Re: Script halts after 60 minutes
- From: Jerry Stuckle
- Re: Script halts after 60 minutes
- From: Mikhail Kovalev
- Script halts after 60 minutes
- Prev by Date: Re: Script halts after 60 minutes
- Next by Date: Random HTML snippets with PHP include?
- Previous by thread: Re: Script halts after 60 minutes
- Next by thread: Re: Script halts after 60 minutes
- Index(es):
Relevant Pages
|