By xjm on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
9.4.x
Introduced in version:
9.4.4
Issue links:
Description:
The minimum supported PHP version for Drupal 9.4 is PHP 7.4, but the recommended version was previously PHP 8.1 for forward-compatibility with Drupal 10.
Following the development of Drupal 9.4.0, we have discovered 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. The issue is resolved in PHP 8.1.6.
Since PHP 8.1.6 is a recent that may not yet be available on hosting platforms, the minimum recommended PHP version for Drupal 9.4 and has been lowered to 8.0. PHP 8.1.6 or higher is still the best choice for forward-compatibility with Drupal 10, but PHP 8.0 is supported past Drupal 9.4's end-of-life in June 2022.