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.
Problem/Motivation
Follow-up from #3258987: Status report should warn about OPcache bug in PHP 8.1.0 to 8.1.5.
We should increase RECOMMENDED_PHP on 10.0.x and perhaps 9.5.x to PHP 8.1.6 due to opcache/autoloader bugs in 8.1.0-8.1.5.
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
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.
Issue fork drupal-3294938
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
xjmI think we should backport this to 9.5, because it makes sense for 9.5 and 10.0 to have the same recommended PHP version.
Comment #4
xjmCR: https://www.drupal.org/node/3295061
Comment #5
xjmMade the needed handbook update also: https://www.drupal.org/node/2891690/revisions/view/12666085/12706231
Comment #6
xjmComment #7
dwwLooks great to me:
RTBC
Thanks!
-Derek
Comment #10
catchCommitted/pushed to 10.1.x, 10.0.x and 9.5.x
For 9.4.x I've opened #3295085: [9.4 ONLY] Lower RECOMMENDED_PHP to 8.0 for the discussion. Marking this fixed but we can always re-open for backport if we decide we want to do that instead.
Comment #11
xjmPublished the CR.