Build/Test Tools: Change the default value of LOCAL_PHP.

This changes the default value for `LOCAL_PHP` in the 6.4 branch from `latest` to `8.3-fpm` to reflect the highest version of PHP this branch will support (with beta support).

After this change, future updates to the `latest` container built and published by the `wpdev-docker-images` repository will not cause failures in this branch.

While there are currently no failures in the 6.4 branch, the `latest` container was recently changed from using PHP 7.4 to 8.2 and caused failures in the 5.8-6.3 branches. Pinning a PHP version to this branch now will prevent that same scenario in the future. Going forward, this should be done at the time of branching.

Older branches already have specific PHP versions defined.

See #60095.

git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57198 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jonathan Desrosiers 2023-12-18 18:54:28 +00:00
parent d9d0fd6495
commit 02e0733577

2
.env
View File

@ -15,7 +15,7 @@ LOCAL_PORT=8889
LOCAL_DIR=src
# The PHP version to use. Valid options are 'latest', and '{version}-fpm'.
LOCAL_PHP=latest
LOCAL_PHP=8.3-fpm
# Whether or not to enable Xdebug.
LOCAL_PHP_XDEBUG=false