Answers for "laravel maximum execution time of 30 seconds"

PHP
1

maximum execution time of 60 seconds exceeded laravel 8

ini_set('max_execution_time', 180); //3 minutes
Posted by: Guest on June-07-2021
0

counting time execution duration in time laravel

# 1. get initial time
$start = now();

  // code here ...

# 2. get diff time from $start
$time = $start->diffInSeconds(now());

# 3. convert it in human readable
$_format = \Carbon\CarbonInterval::seconds($time)->cascade()->forHumans();
Posted by: Guest on September-26-2021

Code answers related to "laravel maximum execution time of 30 seconds"

Browse Popular Code Answers by Language