NYCPHP Meetup

NYPHP.org

[nycphp-talk] Timing out in php batch

Dan Cech dcech at phpwerx.net
Tue Jun 14 15:57:12 EDT 2005


Eric,

Try using http://php.net/set_time_limit at the top of the script to 
increase/remove the time limit.

Dan

Eric Gewirtz wrote:
> We are having a time out issue running in php batch mode. It was my
> understanding based on the php manual that the max_execution_time
> parameter in php.ini is overridden by batch and set to unlimited, yet
> our application is getting the following error.
> 
> <b>Fatal error</b>:  Maximum execution time of 30 seconds exceeded in
> <b>/home/abc/def_html/xxxxxxx/p2/prod/prodscript.php</b> on line
> <b>315</b><br />



More information about the talk mailing list