This guide will assist you on how to upgrade your server’s PHP version to PHP 7.x. Cloudways Platform supports PHP 7.0, 7.1, 7.2, 7.3, and 7.4.

Please note that PHP 7.x is compatible with Debian 8 and Debian 9 distributions, and it does not work with the older Debian versions. If you have recently launched a server at Cloudways, you have Debian 9 as the operating system with PHP 7.3 as the default PHP version.


How to Upgrade PHP Version

Step #1 — 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.

Step #2 — Upgrading to PHP 7.x

  1. Click edit to update the PHP version.

2. Choose your desired PHP version.

3. Next, click Save.

4. You will be shown a warning to check if all your web applications are compatible with your selected PHP version. If you have followed all the required steps and want to pursue them, click Ok.

You have successfully upgraded the PHP version. Similarly, you can also downgrade to a different PHP version as well. Also, see the PHP modules of your chosen PHP version.

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?