Can't change max_execution_time from 300

If you have WHMCS installed and attempt to change the value of max_execution_time via the PHP INI Editor in either WHM or cPanel, you may find that any changes are apparently ignored even though the .user.ini and php.ini files are updated accordingly.

The reason for this is that WHMCS sets max_execution_time to 300 by default and this overrides the PHP INI Editor setting.

You can override this setting by adding the following variable to the configuration.php file in the folder in which you have WHMCS installed:

$overidephptimelimit=600;

The example above will set the max_execution_time to 600 though this value can be adjusted to suit your requirements.

  • WHMCS, max_execution_time, .user.ini, php.ini
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Forcing the daily Cron

IMPORTANT! In order to be able to force the daily Cron, the PHP directive 'register_argc_argv'...

v7.6.0 - eNom module nameserver hotfix

There has been an issue identified in WHMCS version 7.6.0 whereby, with the eNom registrar module...

Powered by WHMCompleteSolution