Skip to content

Use PHP 8.4 by default - #1702

Open
retlehs wants to merge 1 commit into
masterfrom
php-8.4-default
Open

retlehs wants to merge 1 commit into
masterfrom
php-8.4-default

Conversation

@retlehs

@retlehs retlehs commented Nov 19, 2026 •

Copy link
Copy Markdown
Member

Bumps the default php_version from 8.3 to 8.4.

  • WP-CLI 2.12.0, which Trellis already pins, includes PHP 8.4 compatibility fixes. WP-CLI doesn't support 8.5 yet, so 8.4 is the newest version we can default to.
  • All PHP 8.4 packages Trellis installs (core, imagick, xmlrpc, memcached, redis, xdebug, opcache) are in the Sury repo for both Ubuntu 24.04 (noble) and 26.04 (resolute).

Existing sites that set php_version themselves aren't affected. Sites relying on the default get switched to 8.4 on their next provision. The PHP role already stops and disables the old phpX.Y-fpm service.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

1 participant