The php.ini maximum time is set to -1 which is infinity
On Mon, Apr 6, 2009 at 11:27 AM, Chetan Rane
chetan_r...@persistent.co.inwrote:
I think its exceeding the max execution time set in PHP.ini
Either set yoru cron to run after every 60 seconds, or change the setting
in PHP.ini
Chetan
setting:
max_execution_time = -1 ; Maximum execution time of each script, in
seconds
max_input_time = -1; Maximum amount of time each script may spend
parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 2036M ; Maximum amount of
I think its exceeding the max execution time set in PHP.ini
Either set yoru cron to run after every 60 seconds, or change the setting in
PHP.ini
Chetan Dattaram Rane | Software Engineer | Persistent Systems
chetan_r...@persistent.co.in | Cell: +91 94033 66714 | Tel: +91 (0832) 30 79014
Does any one knows why while loop below ends after few loops when it meant
to keep in loop?
File name: while_loop_script.php
define('run', 0);
define('START', 10);
while(START run){
$ch = curl_init(mydomain/update_script.php?action=run);
curl_exec($ch);
curl_close($ch);
}
using
setting:
max_execution_time = -1 ; Maximum execution time of each script, in
seconds
max_input_time = -1 ; Maximum amount of time each script may spend
parsing request data
;max_input_nesting_level = 64 ; Maximum input variable nesting level
memory_limit = 2036M ; Maximum
5 matches
Mail list logo