How to Change PHP Version Print

  • 0

How to Change PHP Version

Different applications require different PHP versions. cPanel allows you to change PHP versions easily.

Step 1: Login to cPanel

Access your hosting control panel.

Step 2: Open Select PHP Version

Navigate to:

Software → Select PHP Version

or

Software → MultiPHP Manager

depending on your hosting platform.

Step 3: Select Your Domain

Choose the domain for which you want to change the PHP version.

Step 4: Choose PHP Version

Available versions may include:

  • PHP 8.3

  • PHP 8.2

  • PHP 8.1

  • PHP 8.0

  • PHP 7.4

Select the required version.

Step 5: Apply Changes

Click:

Apply

or

Set as Current

depending on the control panel.

Recommended Versions

WordPress:
PHP 8.1 or newer

Laravel:
PHP 8.2 or newer

Custom Applications:
Refer to application documentation.

Verify PHP Version

Create a file named:

phpinfo.php

Add:

Visit:

https://yourdomain.com/phpinfo.php

The installed PHP version will be displayed.

Troubleshooting

If your website shows errors after upgrading:

  • Switch back to the previous PHP version.

  • Update plugins and themes.

  • Check error logs.

  • Contact your application developer.

Security Recommendation

Always use a supported PHP version to receive security updates and performance improvements.

For assistance, contact JKReseller Support.


Was this answer helpful?
« Back