From c8b214cc10dae78c4a7c9e1d98ee104e0f027441 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Wed, 17 Sep 2025 11:10:11 -0700 Subject: [PATCH] Update default PHP to 8.3 See https://github.com/WordPress/wordpress.org/blob/26afaf0ede4444541b1b5a8fd57ee5671cc37a68/wordpress.org/public_html/wp-content/mu-plugins/pub/servehappy-config.php (which is returned by an API which warns users if they're on a version lower than that). --- generate-stackbrew-library.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/generate-stackbrew-library.sh b/generate-stackbrew-library.sh index f891ee373b..496ef5e12e 100755 --- a/generate-stackbrew-library.sh +++ b/generate-stackbrew-library.sh @@ -5,7 +5,10 @@ set -Eeuo pipefail # https://make.wordpress.org/hosting/handbook/server-environment/#php # https://wordpress.org/support/update-php/#before-you-update-your-php-version # https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/ -defaultPhpVersion='php8.2' +# +# "RECOMMENDED_PHP" in https://github.com/WordPress/wordpress.org/blob/HEAD/wordpress.org/public_html/wp-content/mu-plugins/pub/servehappy-config.php (https://github.com/docker-library/wordpress/issues/980) +# +defaultPhpVersion='php8.3' defaultVariant='apache' self="$(basename "$BASH_SOURCE")"