How to Increase Max Execution Time in cPanel
Increasing the max execution time in cPanel helps prevent timeout errors when running large scripts, importing files, or processing heavy website tasks. You can easily increase the execution time limit through the PHP Selector settings in cPanel by following the steps below.
Step 1: Login to cPanel from Client Area
First, login to your client area account.
After logging in:
- Go to Services
- Click on My Services
- Select your active hosting service
- Click on Login to cPanel

Step 2: Open Select PHP Version
After logging into cPanel:
- Scroll to the Software section.

2. Click on Select PHP Version.

Step 3: Open PHP Options
Inside the PHP Selector page:
- Click on the Options tab.
- You will see various PHP configuration settings.

Step 4: Find the max_execution_time Option
Locate the setting called:
max_execution_time
This option controls how long a PHP script is allowed to run before it stops automatically.

Step 5: Increase the Max Execution Time Value
- Click on the current value beside
max_execution_time. - Change it to a higher value such as:
- 300
- 600
- 1000
- The changes are usually saved automatically.

Step 6: Verify the Changes
Refresh the page and confirm that the new max_execution_time value is updated successfully.
Why Increase Max Execution Time?
Increasing the max execution time can help fix issues like:
- Website timeout errors
- Large file import failures
- Backup restoration issues
- Slow script processing
- Plugin or theme installation problems
Conclusion
Increasing the max execution time in cPanel allows your website to handle long-running PHP processes more efficiently. You can easily update this setting through the PHP Selector options in cPanel.
