Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By xjm on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.5.x
Introduced in version:
9.5.0
Description:
The minimum required PHP version for Drupal 10 is PHP 8.1.
PHP versions 8.1.0-8.1.5 have a bug with the PHP OPcache that may cause intermittent fatal errors at runtime for class autoloading.
Therefore, the minimum recommended PHP version for Drupal 9.5 and above has been increased to 8.1.6. This will display an informational message on the site status report if the PHP version is between 8.1.0 and 8.1.5, recommending that sites update to at least PHP 8.1.6.
Sites may still be installed and updated normally on PHP versions below 8.1.6.
Impacts:
Site builders, administrators, editors
Distribution developers
Comments
In light of the PHP version
In light of the PHP version lock > PHP8.1.2 in Ubuntu 22.04 LTS - what is the recommended approach here? Trust in the backported patches from Ubuntu - or add in "ppa:ondrej/php" - and use 8.1 latest?
Basically
A suggestion in the forum seems like a reasonable approach.