When we execute a php file under command line, that includes large functionality and it takes 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.
use this code
Code:
set_time_limit(0);
Leave a Reply
You must be logged in to post a comment.