Hi, I am going to execute a php file under command line, that includes large functionality it may take 2 or 3 minutes to complete the task, What is my doubt is while running that file under command line,will script time out error occur?
Increase the max_execution_time variable in php.ini to the required time and you should be ok. Peace,
I posted a similar thread yesterday. I'm having a big script with many regexes and the script time outs each time. I can't modify my ini since I'm not on localhost. It would be nice if someone would have an idea how to split a big task like this and avoid time outs. I've seen somethin glike this on some software that refreshes at every 3-4 seconds and takes the task from where it was left. Hard to achieve
I think all of you are not getting me, I don't want to run this file on a browser, I just want to run under command line