Difference between revisions of "Maximum Execution Time"

From WHMCS Documentation

(Redirected page to PHP and WHMCS)
 
Line 1: Line 1:
By default, WHMCS enforces a max_execution_time limit of 300 seconds for general requests.
+
#REDIRECT [[PHP_and_WHMCS]]
 
 
If this limit is too little for a given task or operation, you may encounter an error message that looks something like the following
 
 
 
<div class="source-cli">
 
PHP Fatal error: Maximum execution time of 300 seconds exceeded in /path/to/file.php
 
</div>
 
 
 
==Increasing the max_execution_time==
 
 
 
If you wish to override the max execution time limit and increase it to a higher value, you can do so by adding the following line to your WHMCS configuration.php file:
 
 
 
<div class="source-cli">
 
$overidephptimelimit = 500;
 
</div>
 

Latest revision as of 21:26, 25 January 2022

Redirect to: