Skip to main content

How to update the PHP version through the cPanel control panel

This guide explains how to update a website’s PHP version in cPanel

Written by Jeremias

PHP (Hypertext Preprocessor) is a programming language widely used for website development and maintenance. To ensure that the features of your domain work correctly in a modern web environment, it is recommended to keep the PHP version up to date.

Note: Before updating the PHP version for your domain, it is crucial to ensure that the installed features and plugins on your website are compatible with the new PHP version you are planning to update to. If you are unsure whether you can update PHP without causing issues on your website, please contact the party responsible for building your website. If you encounter difficulties in updating the PHP version following these instructions, please reach out to our customer service for assistance.

What you need:

  1. Log in to the cPanel control panel using the credentials provided in your service activation email.

  2. Open the PHP settings by selecting Select PHP Version:

  3. Select the desired PHP version from the drop-down menu:

  4. Click Apply to confirm the changes:

    After these steps, the PHP version for your domain will be updated. Note that it may take some time for the changes to take effect. If the update fails for any reason, the control panel will display an error message. In such cases, please contact our customer service for assistance.

Q&A:

Why is my website not working after updating the PHP version?

  • A plugin or theme installed on the website may not be compatible with the new PHP version.

    • If possible, switch back to the previous PHP version and check whether updates are available for the plugins or theme currently in use. After that, you can try updating the PHP version again.

    • You can try disabling the plugins one by one by renaming the plugin folder. WordPress plugins can be found in the File Manager under the path wp-content/plugins.

Did this answer your question?