Table of Contents

Your new server is configured to use PHP 7.4 by default. You can always upgrade to the latest version, e.g., PHP 8.1, as per your requirements. Downgrading the PHP version has some limitations, so you can view which PHP versions you can upgrade or downgrade to currently.

Important Announcement for PHP Older Versions

Available versions of PHP include PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, and 8.1 but 5.6, 7.0, 7.1, 7.2, and 7.3 versions are deprecated as of August 15th, 2022. As a result, new and existing servers with default PHP 7.4 or newer versions can upgrade or downgrade to non-deprecated versions (PHP 7.4, 8.0, and 8.1) but can not downgrade to deprecated versions (PHP 5.6, 7.0, 7.1, 7.2, and 7.3).

Existing servers with deprecated versions will continue to work for the time being. The deprecated versions will reach the end of life on February 28th, 2023; therefore, you are requested to upgrade to the latest version. Please refer to Cloudways deprecation process and policy for more details.

Supported PHP Versions

Cloudways currently only supports PHP 7.4, 8.0, and 8.1, and the rest of the versions are deprecated, as explained in the earlier announcement.

If you use a PHP version older than PHP 7.4, you can only upgrade to the on-deprecated versions, e.g., PHP 7.4, 8.0, and 8.1. We have explained the same in the below table.

PHP Version

Upgradable to

PHP 5.6

PHP 7.4 and higher

PHP 7.0

PHP 7.4 and higher

PHP 7.1

PHP 7.4 and higher

PHP 7.2

PHP 7.4 and higher

PHP 7.3

PHP 7.4 and higher

PHP 7.4

PHP 8.0 and higher

PHP 8.0

Can be downgraded to PHP 7.4

Upgradable to PHP 8.1 and higher

PHP 8.1

Can be downgraded to PHP 8.0 or lower

It will be upgradeable to any new PHP version once available on the Cloudways Platform.

How to Upgrade to PHP 8.x Version


Prerequisite for upgrading to PHP 8.x:

  1. The latest version is PHP 8.1, which requires Debian 9 or Debian 10. It is not compatible with Debian 7 and Debian 8. You can also check your application compatibility with different available PHP versions.

  2. Check the compatibility of your application code with the selected version of PHP.


It is recommended to take a server backup before updating the PHP version if you may need to revert to a previous PHP version and restore your application.

Upgrade PHP Version — Navigate to Server Packages

Log in to your Cloudways Platform using your email address and password.

  1. From the top menu bar, open Servers.

  2. Then, choose your desired server.

  3. Under Server Management, select Settings & Packages.

  4. Choose the Packages tab.

Upgrade PHP Version — Upgrading to PHP 8.x

  1. Click edit to view the available PHP versions.

  2. Select PHP 8.0 or higher version.

  3. Finally, click Save.

  4. You will be prompted to check if your web applications are compatible with your chosen PHP version. If yes, click OK to proceed.

This may take a few minutes to upgrade the PHP version. You will be notified on the same screen once the PHP version is updated. You can also read about the available PHP 8.x modules.

That’s it! We hope this article was helpful. If you need any help, then feel free to search your query on Cloudways Support Center or contact us via chat (Need a Hand > Send us a Message). Alternatively, you can also create a support ticket.

Did this answer your question?