You can increase the max_execution_time for a specific domain to allow scripts to run for a longer period before timing out. This is performed within the cPanel interface for the specific account associated with that domain.
Before you begin
You will need:
A cPanel account with permissions to manage the specific domain.
The domain name or the specific account associated with the domain.
Adjusting the PHP execution time
Log in to your cPanel account.
Locate the Software section and select Select PHP Version.
Select the specific domain or account from the list.
Click on the Options tab in the top menu.
Locate the
max_execution_timesetting in the list.Click the value next to
max_execution_timeand enter the desired number of seconds.The system saves these changes automatically.
Confirm the result
The new value will remain visible in the Options list under the Select PHP Version tool.
Scripts on the domain will now be permitted to run for the duration specified by the new value.
Limitations
The maximum value you can enter may be limited by your specific hosting plan or the server's global configuration. If the script still times out after increasing this value, the issue may be related to a different PHP limit or a server-side resource restriction.
