Skip to content

Build/Test Tools: Test the local Docker environment with PHP 8.6 - #15760

Closed
desrosj wants to merge 2 commits into
WordPress:trunkfrom
desrosj:add/php-8.6-local-docker-env
Closed

desrosj wants to merge 2 commits into
WordPress:trunkfrom
desrosj:add/php-8.6-local-docker-env

Conversation

@desrosj

@desrosj desrosj commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

This adds PHP 8.6 to the Local Docker Environment workflow's test matrix.

PHP 8.6 is in beta/RC and is not listed in .version-support-php.json yet, so it is appended to the PHP versions read from that file. It is tested against the same MySQL versions as every other PHP version. PHP 8.6 with Memcached is excluded, like 8.5, because the wordpressdevelop/php:8.6-fpm image does not include the extension yet.

Trac ticket: https://core.trac.wordpress.org/ticket/65904

This patch was written with Claude Code.

🤖 Generated with Claude Code

PHP 8.6 has entered the beta/RC phase of its release cycle and is due out at the end of 2026. The PHPUnit workflow already runs against it, so the local Docker environment workflow now does too.

Like the PHPUnit jobs, this is a separate job with a limited number of combinations, and PHP 8.6 is not added to `.version-support-php.json` until it is released. Memcached is not tested because the PHP 8.6 container does not include the extension yet.

See #65904.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t matrix.

Instead of a separate job, PHP 8.6 is now appended to the PHP versions read from `.version-support-php.json`, so it is tested with every MySQL version in the matrix. PHP 8.6 with Memcached is excluded, the same as PHP 8.5, because the container does not include the extension yet.

See #65904.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@desrosj

desrosj commented Nov 6, 2026

Copy link
Copy Markdown
Member Author

Closing this out as it will happen automatically once 8.6 is added to the JSON file listing supported versions.

@desrosj desrosj closed this Nov 6, 2026
@desrosj
desrosj deleted the add/php-8.6-local-docker-env branch November 6, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants