79580487

Date: 2025-04-18 05:52:26
Score: 1
Natty:
Report link

If you don’t want to change the global php.ini, add this line at the top of the controller method or inside your route:

ini_set('max_execution_time', 300); // 5 minutes

Eg:

public function longRunningTask()
{
    ini_set('max_execution_time', 300);

    // Your heavy process here
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Dhanush J.A