How to fixx maximum excute time increase in cpanel phpini editor

To increase the maximum execution time for PHP scripts in cPanel using the php.ini editor, follow these steps:

 

1. Log in to your cPanel account.

 

2. Navigate to the "Software" or "Service" section, and look for the "MultiPHP INI Editor" or "Select PHP Version" option. The exact location may vary depending on your cPanel theme.

 

3. In the MultiPHP INI Editor or Select PHP Version section, you should see a dropdown menu where you can choose the domain or directory for which you want to edit the PHP settings. Select the one you want to adjust.

 

4. Under the "Basic Mode" tab, you'll find various PHP settings that you can modify. Locate the "max_execution_time" option. This controls the maximum time a PHP script can run before timing out.

 

5. Increase the value of "max_execution_time" to the desired value in seconds. For example, if you want to set the maximum execution time to 300 seconds (5 minutes), you can enter "300" in the input field.

 

6. Click the "Apply" button to save your changes.

 

7. After making these changes, remember to check your PHP scripts for potential performance issues or long-running tasks. Increasing the execution time is not always the best solution; it's important to optimize your code whenever possible.

 

Keep in mind that some hosting providers may restrict your ability to change certain PHP settings for security or resource usage reasons. If you can't modify these settings via cPanel, consider contacting your hosting provider's support for assistance.

  • 0 کاربر این را مفید یافتند
آیا این پاسخ به شما کمک کرد؟

مقالات مربوطه

How to install wordpress on cpanel using softaculase

To install WordPress using Softaculous, you will need to follow these steps: Log in to your...

How to install ssl on cpanel using let's encrypt

Sure, here are the steps on how to install an SSL certificate using Let's Encrypt in...

How to force use HTTPS IN CPANEL In cPanel,

In cPanel, you can force the use of HTTPS by redirecting all HTTP traffic to HTTPS. Here are the...

How To enable or disable a PHP extension using the PHP Selector in cPanel

To enable or disable a PHP extension using the PHP Selector in cPanel, you can follow these...

how to change PHP version in cPanel using MultiPHP Manager

Sure, here are the steps on how to change PHP version in cPanel using MultiPHP Manager: Log...