Is there a way to remove time out? PHP

1

I am using a cron to run a script that reads a txt file of 18 thousand lines and inserts into the bank, but is running at most one thousand lines, out of nowhere, it did not fall into any of the errors that could be. Is there another way to do it?

    
asked by anonymous 31.07.2017 / 16:12

1 answer

4

Include this line at the beginning of your php file, or in php.ini

ini_set('max_execution_time', 0); 
    
31.07.2017 / 16:16