Page 1 of 1

Fix: Maximum execution time of 300 seconds exceeded

Posted: Sun Dec 05, 2021 10:41 am
by mampsupportmod
Occasionally, a site script will decide to time out or stop running. I found:

Code: Select all

PHP Fatal error:  Maximum execution time of 300 seconds exceeded in/db/driver/driver.php on line 709

Basically tells me that

Code: Select all

max_execution_time
needs to be increased in php.ini.

I set it to 1000 seconds and this has improved the stability of my scripts to continue running uninterrupted. But since one of my sites is so large, the scripts are taking longer to complete. So this will be what a lot of others face for growing sites.