Table of Contents

In this article, you will get information about different web applications’ compatibility with different PHP versions available on Cloudways. 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.


Prerequisites

  • The latest version is PHP 8.1, which requires Debian 9 or Debian 10. It is not compatible with Debian 7 and Debian 8.

  • PHP 7 requires Debian 8 or greater. It is not compatible with Debian 7.

PHP 5.6

Supported Applications

WordPress 5.6.x
Magento 1.9.x

Unsupported Applications

✕ Magento 2.x and higher
✕ Laravel 8.26.x

PHP 7.0

Supported Applications

WordPress 4.3.x and higher
Magento 1.9.x
Laravel 5.2 ~ 5.5

Unsupported Applications

✕ Magento 2.x and higher
✕ Laravel 5.6 and higher

PHP 7.1

Supported Applications

WordPress 4.3 and higher
Magento 1.9.x
Laravel 5.2 ~ 5.8

Unsupported Applications

✕ Magento 2.3.6 and higher
✕ Laravel 6.x and higher

PHP 7.2

Supported Applications

WordPress 4.3 and higher
Magento 1.9.x ~ 2.3.6
Laravel 6.x and higher

Unsupported Applications

✕ Magento 2.4.1 and higher
✕ Laravel 5.2 ~ 5.8

Unsupported PHP Extension

PHP memcache is not supported, though PHP memcached is available to use.

PHP 7.3

Supported Applications

WordPress 4.3 and higher
Magento 2.x ~ 2.3.6 and 2.4.0
Laravel 6.x and higher

Unsupported Applications

✕ Magento 1.9.x

✕ Magento 2.4.1 and higher
✕ Laravel 5.2 ~ 5.8

Unsupported PHP Extension

PHP memcache is not supported, though PHP memcached is available to use.

PHP 7.4

Supported Applications

WordPress 4.3.x and higher
Magento 2.4.0 ~ 2.4.3
Laravel 6.x and higher

Unsupported Applications

✕ Magento 1.9.x

✕ Magento 2.4.4 and higher
✕ Laravel 5.2 ~ 5.8

Unsupported PHP Extension

PHP memcache is not supported, though PHP memcached is available to use.

PHP 8.0

Supported Applications

WordPress 5.6.x and higher

Magento 2.4.4 and higher
Laravel 6.20.x and higher

Unsupported Applications

✕ Magento 1.9.x
✕ Laravel 5.2 ~ 5.8

Unsupported PHP Extension

PHP memcache is not supported, though PHP memcached is available to use.

PHP 8.1

Supported Applications

WordPress 5.6.x and higher

Magento 2.4.4 and higher
Laravel 6.20.x and higher

Unsupported Applications

✕ Magento 1.9.x
✕ Laravel 5.2 ~ 5.8

Unsupported PHP Extension

PHP memcache is not supported, though PHP memcached is available to use.

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?