If you're running large or complex scripts on your website, you may have encountered the "Max-Execution Time" error, which occurs when a script takes too long to execute and times out.
This error can be frustrating, but fortunately, cPanel provides a way to increase the Max-Execution Time limit.
Here is a step-by-step guide on how to increase the Max-Execution Time in cPanel to prevent timeouts and ensure that your scripts run smoothly:
Step 1: Log in to cPanel
Enter your username and account password to login into cPanel.
Step 2: Select MultiPHP INI Editor
Once you have logged in, you can navigate to the SOFTWARE section by scrolling down to the software header. From there, you can select the MultiPHP INI Editor option.
Step 3: Adjust PHP INI Configuration
Choose a location in the basic settings area of the MultiPHP INI Editor page, and then click on apply.
Step 4: Change the Max-Execution Time Value
The max_execution_time setting is usually located beneath the display_errors setting on the MultiPHP INI Editor page, where you can easily modify its value to your preferred time limit.
Step 5: Click Apply
Once you have entered the desired value for max-execution time, select the apply button located at the bottom of the page.
All done! The max-execution time has been successfully increased.
In case you have any further queries or questions, please don’t hesitate to get in touch with our support team via the live chat option available on our website. As one of the leading web hosting companies in Pakistan, we’re committed to offering the best proactive customer support to all our clients. You may also visit us at any of our web hosting in Lahore or Karachi offices.