Skip to content

PHP 8.6 - #444

Merged
mistraloz merged 2 commits into
thecodingmachine:v5from
mistraloz:feat/php-8.6
Dec 4, 2026
Merged

mistraloz merged 2 commits into
thecodingmachine:v5from
mistraloz:feat/php-8.6

Conversation

@mistraloz

@mistraloz mistraloz commented Nov 20, 2026 •

Copy link
Copy Markdown
Collaborator

PHP 8.6 images, on amd64 and arm64. sury now publishes the PECL extensions for PHP 8.6 (deb.sury.org#165): the images come with all the extensions of PHP 8.5, except swoole, which does not support PHP 8.6 ("not considered in the short term").

make sury-extensions VERSION=8.6 compares extensions/8.6 with extensions/8.5 and with the sury packages, and tells which symlinks to add or remove. The tests of an extension are skipped when it is not in extensions/<version>, so swoole can come back with a symlink only.

Other changes

  • The watch of the sury packages (php-watch.sh) also rebuilds PHP 8.6.
  • opcache is built in PHP from 8.5 on, not only in 8.5.
  • legacy-v5.yml does not build PHP 8.6 with NodeJS 18 and 20, which are no longer maintained.

Tested locally on amd64: the fat and slim images of PHP 8.6 (cli, apache, fpm) build and pass the tests.

extensions/8.6 lists the extensions of 8.5 that sury publishes for PHP 8.6: all of them but swoole, which does
not support PHP 8.6 yet. The tests of an extension are skipped when it is not in extensions/<version>.

opcache is built in PHP from 8.5 on, not only in 8.5.
make sury-extensions VERSION=8.6 lists the extensions of 8.6 and of the previous version, their sury
package on amd64 and arm64 (or the package that provides them, e.g. php8.6-common), and the symlinks to
add to extensions/8.6 or that make its build fail.
@mistraloz
mistraloz marked this pull request as ready for review December 4, 2026 20:24
@mistraloz
mistraloz merged commit 19f7260 into thecodingmachine:v5 Dec 4, 2026
12 checks passed
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