In system/core/Codeigniter.php
, search for set_time_limit
you got below line of code .You can change here set_time_limit
in codignator
if (function_exists("set_time_limit") == TRUE AND @ini_get("safe_mode") == 0)
{
@set_time_limit(300);// change it according to your requirment
}
As there was no other way to avoid changing the core file, as well as give the infinite maximum execution time for a CLI request.
6
solved PHP script stops working after sometime