---
title: "Checking PHP compatibilities prior to upgrading PHP versions"
date: "2022-02-11T17:33:09+00:00"
summary:
image:
type: "article"
url: "/acquia-cloud-platform/help/92291-checking-php-compatibilities-prior-upgrading-php-versions"
id: "66224a15-96fd-49c1-b92a-89de05a78b39"
---

Any software upgrade can be nerve-wracking, as the various aspects of compatibility, feature availability, and potential downtime are weighed. As software ages, it becomes less supported; eventually, support for a given version is phased out completely. PHP, the language used by Drupal, is not immune to this, and upgrades to it should be planned accordingly.

Note

To keep track of Acquia's schedule for upgrading PHP, see the [software end-of-life schedule](/node/55892).

When you're preparing to upgrade from one version of PHP to another, start with the PHP incompatibilities pages.

*   [https://www.php.net/manual/en/migration74.incompatible.php](https://www.php.net/manual/en/migration74.incompatible.php)
*   [https://www.php.net/manual/en/migration80.incompatible.php](https://www.php.net/manual/en/migration80.incompatible.php)

If you've checked these pages, and aren't completely sure you're compatible, or you'd prefer another check, you can use [http://pear.php.net/package/PHP\_CodeSniffer/](https://pear.php.net/package/PHP_CodeSniffer/). [PHP CodeSniffer](https://pear.php.net/package/PHP_CodeSniffer/) can provide you with a detailed list of issues that should be checked. It should give you a good place to start working on module and theme upgrades. [PHPlint](https://github.com/overtrue/phplint) is another useful code checking tool.