The upgrade from PHP 7.4 to PHP 8.0 represents a significant version upgrade in PHP. As a result, more complex compatibility issues have been found; this upgrade may require more extensive changes to your application than previous PHP version upgrades. As a best practice, Acquia recommends upgrading to the latest stable version of software where possible to ensure that your applications are up-to-date and benefiting from the most recent security patches and bug fixes available. This includes upgrading to a supported version of Drupal and PHP.
If your application is facing compatibility issues that are preventing your upgrade to PHP 8.0 or higher, Acquia recommends upgrading your application's Drupal version to ensure that your application remains secure and functional. If you are in need of assistance to upgrade your Drupal application, please contact your account manager in order to discuss ways our Professional Services team could provide additional support through an engagement.
Compatibility By Drupal Version
Drupal 7.x
Applications using Drupal 7.x will need to upgrade their Drupal core to Drupal 7.79 or higher in order to upgrade from PHP 7.4 to PHP 8.0. Some modules designed for Drupal 7 may be incompatible with PHP 8.0. More information regarding Drupal 7.x compatibility with PHP 8.0 please see the documentation available on Drupal.org.
Drupal 8.x
As Drupal 8.x has reached its end of life with Drupal.org , no version of Drupal 8.x is compatible with PHP 8.0. If an application is still utilizing Drupal 8.x, it will need to be upgraded to Drupal 9.1 or higher in order to upgrade from PHP 7.4 to PHP 8.0 or you will need to purchase long-term support for PHP 7.4. Please contact your account manager in order to discuss these options as needed.
Drupal 9.x
Applications using Drupal 9.x will need to upgrade their Drupal core to Drupal 9.1 or higher in order to upgrade from PHP 7.4 to PHP 8.0. More information regarding Drupal 9.x compatibility with PHP 8.0 please see the documentation available on Drupal.org .
Drupal 10.x
Drupal 10 is recommended with PHP 8.1 or higher. Acquia currently supports PHP 8.1, and will end support for PHP 8.0 on 2 October 2023. You can read more about the PHP 8.0 retirement in our FAQ.
You can read about the PHP requirements for Drupal 10 here: Drupal 10 minimum PHP requirement raised to PHP 8.1.