Change record status: 
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
Updates Done (doc team, etc.)
Online documentation: 
Not done
Theming guide: 
Not done
Module developer documentation: 
Not done
Examples project: 
Not done
Coder Review: 
Not done
Coder Upgrade: 
Not done
Other: 
Other updates done

Comments

newaytech’s picture

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?

colan’s picture

A suggestion in the forum seems like a reasonable approach.