ddev / ddev

Docker-based local PHP+Node.js web development environments
https://ddev.com
Apache License 2.0
2.43k stars 579 forks source link

Update Drupal10 to use PHP8.2 #5735

Closed karenmurky closed 4 months ago

karenmurky commented 4 months ago

Is there an existing issue for this?

Is your feature request related to a problem?

When setting up a new Drupal 10.2 installation (using the Commerce kickstart distribution) it comes bundled with commerce_authnet, which has a dependency that requires PHP 8.2. The stable release of PHP is now 8.2.6, so seems logical to update drupal10 to use PHP82

Describe your solution

Change from PHP81 to PHP82

Describe alternatives

No response

Additional context

No response

tyler36 commented 4 months ago

I just followed the DDEV Drupal 10 quickstart guide. It resulted in a Drupal 10.2.2 website with PHP 8.1.26. So it's not a requirement for vanilla Drupal.

Drupal.org says:

Drupal 10 requires at least PHP 8.1. PHP 8.1.6 is recommended.

However, the status page suggest 8.2 as the recommended version:

image

According to https://www.php.net/supported-versions.php.