admin January 30, 2024 Technology

Supercharge Your Website: 5 Steps for Optimizing PHP Limit in cPanel’s Select PHP Version

Ensuring top-rated overall performance in your website entails first-rate-tuning diverse server settings, inclusive of PHP configuration. By default, PHP has positive limits in place, which include the maximum execution time. If you discover the want to growth these limits, cPanel provides a consumer-friendly way to achieve this through the “Select PHP Version” characteristic. In this manual, we’ll walk you through the stairs to alter PHP limits and decorate your internet site’s abilties.

Why Adjust PHP Limits?

PHP limits, inclusive of the maximum execution time and memory restriction, play a essential position inside the a hit execution of scripts in your website. Adjusting those limits turns into necessary whilst dealing with aid-extensive duties or complicated operations that require more time and memory to complete. CPanel’s “Select PHP Version” device simplifies this manner.

Steps to Adjust PHP Limits in cPanel

Access cPanel:

Log in in your cPanel account the use of your credentials.

yetahost login

Locate “Select PHP Version”:

Navigate to the “Select PHP Version” alternative inside cPanel. This feature permits you to choose and manipulate the PHP model to your internet site.

Select PHP Version

Click “Options”:

Once inside the “Select PHP Version” interface, locate and click at the “Options” button. This will open a panel in which you may adjust various PHP settings.

php selector

Adjust PHP Limits:

Look for settings related to the PHP limits, consisting of “max_execution_time” (most script execution time) and other applicable parameters. Increase the values as wished. For example

max_execution_time = 120 memory_limit = 1024M post_max_size = 512M
php limit

Adjust these values primarily based to your website’s necessities.

Save Changes:

After adjusting the PHP boundaries, shop your adjustments to apply the new configuration.

Verify Changes:

Create a simple PHP script that echoes the values of the changed parameters to verify the adjustments:

Run this script to verify that the PHP boundaries have been updated.


With cPanel’s “Select PHP Version” feature, optimizing your website’s PHP configuration is a straightforward technique. Adjusting PHP boundaries ensures your web site can cope with more complex duties and resource-in depth operations. Keep in thoughts that while growing limits can be useful, it’s crucial to strike a balance to keep away from useless pressure on server assets.

0 0 votes
Article Rating
Notify of
Inline Feedbacks
View all comments

Recent Posts

Limited Offer

Try YetaHost Today!

Get a 90% discount on the first month.

By signing up, you agree to the Terms of service.