LIMITED OFFER ๐Ÿ”ฅ Special Promo โ€” Get up to 50% OFF all Web & Business Hosting plans with code HOST50. Claim discount โ†’
โ† Knowledge Base
cPanel 3 min read

How to Change Your PHP Version in cPanel

Modern WordPress, WooCommerce, and most PHP applications require PHP 8.x to function at their best. If you are seeing plugin incompatibility warnings or slowness, switching your PHP version takes under 60 seconds on all Hostinap Shared and Business Hosting plans.

Step 1: Log in to cPanel

Navigate to https://yourdomain.com/cpanel and log in with your cPanel credentials.

Step 2: Find "Select PHP Version"

Scroll down to the Software section on the main cPanel dashboard and click on Select PHP Version. This opens the PHP version manager powered by CloudLinux.

Step 3: Choose Your PHP Version

You will see your currently active PHP version at the top. Click the dropdown and choose the version you need. Hostinap supports all active PHP versions:

Click Apply after selecting your version. The change is applied instantly โ€” no server restart required.

Step 4: Customize PHP Extensions & Options

After selecting your version, you can also customize individual PHP settings without editing a php.ini file:

How to Verify Your PHP Version Changed

To confirm the new version is active, create a file called info.php in your public_html with this content:

<?php phpinfo(); ?>

Visit https://yourdomain.com/info.php in your browser. The very first line will display your active PHP version. Delete this file once you have verified โ€” leaving phpinfo() accessible publicly is a security risk.

If Your Site Breaks After Changing PHP

If a plugin or theme is not compatible with the new PHP version, simply revert to the previous version in Select PHP Version. Then check your WordPress plugin changelog or search for an updated, compatible version of the plugin before trying again.

Need More PHP Memory or Resources?

Our Business Hosting plans provide significantly higher PHP memory limits (up to 8GB RAM via CloudLinux LVE) compared to standard shared hosting โ€” perfect for resource-heavy WooCommerce or membership sites.

View hosting plans
Registered LLPHostinap Software Solutions
cPanel PartnerLicensed control panel
LiteSpeedLicensed web server
Since 201510+ years hosting