How to change the max execution time in WHMCS?

kumkumsharma

Administrator
Staff member
If we are getting below error while executing cron jobs then we can update the WHMCS configuration file. Let’s see how to check this:

Code:
PHP Fatal error: Maximum execution time of 300 seconds exceeded in /path/to/file.php
To resolve this issue we can update the configuration.php file and add below code in that file:

Code:
$overidephptimelimit = 500;
 
Top