Problem/Motivation
The policy issue at #3173787: [policy] Require PHP 8.1 for Drupal 10.0 if a dependency does, otherwise require PHP 8.0. (up from 7.3 in Drupal 9) suggests we should require PHP 8.0 at least for Drupal 10. This is an absolute must if Drupal 10 is to be shipped with Symfony 6 which we are aiming for. However based on hosting provider data, Linux distribution support and other factors, we should consider whether to require PHP 8.1 outright or at least have a plan for requiring it later on in Drupal 10's lifecycle.
This is similar to #2917655: [9.4.x only] Drop official PHP 7.3 support in Drupal 9.4.
Proposed resolution
Gather data about Linux distribution and hosting provider support.
Hosting provider support
Tracked in: #3261443: [tracking issue] Track hosting provider support for PHP 8+ (Please add/update data there for your HSP!)
Ubuntu
- April 2020 -- Ubuntu 20.04 "Focal" -- PHP 7.2
- Expected April 2022 -- Ubuntu 22.04 :Jammy" -- both PHP 8.0 and 8.1 (one may be removed before release?)
Debian
- Aug. 2021 -- Debian 11 "Bullseye" -- PHP 7.4
- Expected mid to late 2023 -- Debian 12 "Bookworm" -- PHP 8.1
RHEL
- November 2021 -- RHEL 8 -- PHP 7.4
- Expected May 2022 -- RHEL 9 (beta) -- PHP 8.0
- Possibly November 2022 -- RHEL 9.1 -- PHP 8.1 support could be added, but this is only conjecture
(Note: CentOS is going EOL.)
Composer ecosystem data -- all Composer package installs
Source: https://packagist.org/php-statistics
Composer ecosystem data -- Drupal 9 installs of drupal/core
Source: https://packagist.org/packages/drupal/core/php-stats#9
Updated April 11th 2023:
Drupal 9:
Drupal 10: