Using ini_set(), I can expand the maximum execution time of a script. In Symfony2, I can add ini_set to web/app.php
ini_set()
ini_set
web/app.php
You can disable the PHP timeout limit with the set_time_limit function. More info here
set_time_limit
as Example:
class TaskController extends Controller { public function longTaskAction() { set_time_limit(0); // 0 = no limits // .. } }
Hope this help