How to increase the time of execution or Fatal error: Maximum execution time of 60 seconds exceeded


Sometimes execution of my $command lasts too long and after 1min it stop execution and i receive this error:
Copy and paste the at the top or of your file which file you are running;
ini_set('max_execution_time', 0);

Setting it to 0 will make your script run forever according to the documentation of the ini-directive.

Comments