Skip to content

Support PHP 8.6 - #353

Closed
mnapoli wants to merge 16 commits into
v4-cli-fpmfrom
v4-php86
Closed

mnapoli wants to merge 16 commits into
v4-cli-fpmfrom
v4-php86

Conversation

@mnapoli

@mnapoli mnapoli commented Nov 18, 2026

Copy link
Copy Markdown
Member

Stacked on #352.

PHP 8.6.0RC5 (final release planned for late November):

make test passes for 8.3, 8.4, 8.5 and 8.6 (arm64); on 8.6, APCu, redis and xdebug load.

TODO: PHP 8.6.0 is not released yet (php-src's latest tag is 8.6.0RC7 as of November 18). When it is, replace 8.6.0RC5 in docker-bake.hcl and check that the cli-fpm patch still applies.

Backport of php/php-src#23558, applied when src/cli-fpm has a patch for the PHP version:
php-fpm is a symlink to php, so FPM maps the binary the CLI bootstrap already loaded
(-12 to -16 ms of FPM cold start, 8 MB less memory).
- Pre-releases are downloaded from the php-src tag on GitHub (php.net only has final releases).
- One binary for php and php-fpm on 8.6 too: php/php-src#23558's diff, plus the rename of FPM's
  apache_request_headers() implementation that master has (php/php-src#24249) and PHP-8.6 does not.
- APCu, phpredis and xdebug have no release that compiles with 8.6 yet: built from pinned commits
  of their main branches on 8.6 only.
@mnapoli mnapoli self-assigned this Nov 18, 2026
@mnapoli
mnapoli added this pull request to stack #354 November 18, 2026 20:42
@mnapoli mnapoli mentioned this pull request Nov 23, 2026
@mnapoli
mnapoli removed this pull request from stack #354 November 23, 2026 12:06
@mnapoli

mnapoli commented Nov 23, 2026

Copy link
Copy Markdown
Member Author

Replaced by #358: same change without #352 (one binary for php and php-fpm), which is not merged yet.

@mnapoli mnapoli closed this Nov 23, 2026
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