How to Increase PHP Max Execution Time in cPanel’s PHP INI Editor
If your PHP scripts are timing out or not executing fully, you can increase the PHP Max Execution Time in cPanel’s PHP INI Editor. Follow these steps:
Step 1: Log in to Your cPanel
- Access your cPanel account with your username and password.
Step 2: Navigate to PHP INI Editor
- In the Software section, locate and click on PHP INI Editor.

Step 3: Select the Domain
- In the PHP INI Editor, you’ll see a dropdown menu. Select the domain for which you want to increase the Max Execution Time.

Step 4: Modify the Max Execution Time
- Look for the PHP Directive called
max_execution_time
. - Set its value to 300 (5 minutes) or 600 (10 minutes), depending on your requirement.

Step 5: Apply Changes
- Scroll to the bottom of the page and click Apply to save the changes.

Conclusion
You’ve successfully increased the PHP Max Execution Time. This will ensure your PHP scripts have sufficient time to execute without timing out. Always set the value based on your application needs to avoid excessive resource usage.
Was this article helpful?
YesNo