Difference between revisions of "Maximum Execution Time"

From WHMCS Documentation

(Created page with "By default, WHMCS enforces a max_execution_time limit of 300 seconds for general requests. If this limit is too little for a given task or operation, you may encounter an err...")
 
(Redirected page to PHP and WHMCS)
 
(One intermediate revision by one other user not shown)
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
 
 
 
<source lang="php">
 
PHP Fatal error: Maximum execution time of 300 seconds exceeded in /path/to/file.php
 
</source>
 
 
 
==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:
 
 
 
<source lang="php">
 
$overidephptimelimit = 500;
 
</source>
 

Latest revision as of 21:26, 25 January 2022

Redirect to: