Problem
You see the following error message:
PHP Fatal error: Maximum execution time of 300 seconds exceeded in /path/to/file.php
Cause
The max_execution_time
limit is too low for a specific task or operation. By default, WHMCS enforces a max_execution_time
limit of 300 seconds for general requests.
Solution
Increase the max_execution_time
limit by adding the following new line to your configuration.php
file:
$overidephptimelimit = 500;
For more information on updating this file, see The configuration.php File.
Last modified: January 29, 2025