you can set the maximum execution timeu using either the
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
setting in php.ini
or can set it at runtime for a script using the set_time_limit() function
check the php manual for more details.
hope that helps
Ankur
If you don't want to run the script from the command line you can use
ignore_user_abort with set_time_limit(?) in the script to allow you to close
the browser and let it do its thing.
> I have PHP3 and MySQL on Win98 and am trying to run a script that loops
> through a file making process and it
From: "Martin E. Koss" <[EMAIL PROTECTED]>
Sent: Monday, February 12, 2001 1:08 PM
> Is it a surprise that it might take up to 20 or 30 minutes to build over
> 20,000 simple HTML files?
Maybe you shouldn't run your script through the browser. To me it sounds
like you're doing a one-time process
> Is it a surprise that it might take up to 20 or 30 minutes to build over
> 20,000 simple HTML files?
>
> Martin.
>
> -Original Message-
> From: Dominick Vansevenant [mailto:[EMAIL PROTECTED]]
> Sent: 12 February 2001 11:54
> To: Martin E. Koss; [EMAIL PROTECTED]; [EMAIL PR
Original Message-
From: Dominick Vansevenant [mailto:[EMAIL PROTECTED]]
Sent: 12 February 2001 11:54
To: Martin E. Koss; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: [PHP] Run a script for 20minutes
I think there are timeouts on php as well:
This is taken from the php.ini file.
max
I think there are timeouts on php as well:
This is taken from the php.ini file.
max_execution_time = 30 ; Maximum execution time of each script, in
seconds
I hope this helps you, you can find php.ini in your windows directory.
If you are using a database, also check that for timeouts.
D.
6 matches
Mail list logo