CodeIgniter – Fatal error: Maximum execution time of 30 seconds exceeded in system\database\drivers\mysqli\mysqli_driver.php on line 305 codeigniter

QuestionsCategory: CodeIgniterCodeIgniter – Fatal error: Maximum execution time of 30 seconds exceeded in system\database\drivers\mysqli\mysqli_driver.php on line 305 codeigniter
devchandan Staff asked 1 month ago

Fatal error: Maximum execution time of 30 seconds exceeded in system\database\drivers\mysqli\mysqli_driver.php on line 305 codeigniter

1 Answers
matrix Staff answered 1 month ago

Please add this php_ini in your controller. Hope This will solve your problem.

ini_set('max_execution_time', 0);
ini_set("memory_limit", "1024M");