Problem/Motivation

The Drupal core committers agreed today that Drupal 10.0.0 will require PHP 8.1. (A wider announcement will be posted about this within the next couple weeks.)

Proposed resolution

Update the minimum PHP version requirement.

Remaining tasks

Update the handbook, release notes, etc.

User interface changes

Users will not be able to install, update, or run Drupal 10 on PHP 8.0.

API changes

TBD (followups)

Data model changes

N/A

Release notes snippet

Drupal 10 now requires PHP 8.1. (We will publish a broader announcement about this requirement in the near future, including recommendations for sites that do not yet have PHP 8.1 available for them.)

CommentFileSizeAuthor
#2 php81.patch4.44 KBxjm

Comments

xjm created an issue. See original summary.

xjm’s picture

Status: Active » Needs review
Issue tags: +Drupal 10
Parent issue: » #3118147: [meta] Set Drupal 10 platform and browser requirements six months before the release
StatusFileSize
new4.44 KB
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
xjm’s picture

Issue summary: View changes
andypost’s picture

I think tomorrow PHP will announce security releases, and probably it could be 8.1.3

xjm’s picture

@andypost, yep, we can still increase the patch version anytime between now and beta1. We just should get this in before alpha2, which we want to release within the next day or so for today's security updates (among other things).

andypost’s picture

Status: Needs review » Reviewed & tested by the community

Just checked https://github.com/php/php-src/commit/9bc17e44be7577ad8dcf325e9a8e104b58... and the function is not used by core

Patch is rtbc at this point

  • larowlan committed be5fec9 on 10.0.x
    Issue #3264819 by xjm: Require PHP 8.1 for Drupal 10.0.0-alpha2
    
larowlan’s picture

Status: Reviewed & tested by the community » Fixed

Committed be5fec9 and pushed to 10.0.x. Thanks!

Updated my local to 8.1 in order to get it to work :)

andypost’s picture

Updated CR for versions

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.