PHP timeout
Moderator: General Moderators
PHP timeout
I have a script that reads in a dir and makes thumbnails for them. The problem that I am having is that when processing more than 35 images the script gives a timeout error because it is taking longer than 30seconds to process the photos... anyone have a workaround? Like to temporarily set the timeout to like 3 minutes.
http://www.php.net/manual/en/function.s ... -limit.php
from that page :
void set_time_limit (int seconds)
Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the configuration file. If seconds is set to zero, no time limit is imposed
from that page :
void set_time_limit (int seconds)
Set the number of seconds a script is allowed to run. If this is reached, the script returns a fatal error. The default limit is 30 seconds or, if it exists, the max_execution_time value defined in the configuration file. If seconds is set to zero, no time limit is imposed