Skip to content

PHP 8.6 - #444

Draft
mistraloz wants to merge 2 commits into
thecodingmachine:v5from
mistraloz:feat/php-8.6
Draft

mistraloz wants to merge 2 commits into
thecodingmachine:v5from
mistraloz:feat/php-8.6

Conversation

@mistraloz

Copy link
Copy Markdown
Collaborator

PHP 8.6.0 is out and sury already publishes it for noble, on amd64 and arm64, but only with the extensions of the PHP source. sury has not started the packages of the PECL extensions yet.

This PR adds the PHP 8.6 images with the extensions available today. apcu, igbinary and redis, enabled by default in the fat images, stay required: the CI fails until sury publishes them, and we will merge then. The other extensions are added back as sury publishes them, and their tests are skipped until then.

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 back.

Extensions of PHP 8.6

Available: bcmath blackfire bz2 dba enchant ffi gd gettext gmp intl ldap mysqli odbc pdo_dblib pdo_mysql pdo_odbc pdo_pgsql pdo_sqlite pgsql snmp soap sqlite3 tidy zip

No extension moved into the PHP source or out of it in 8.6. All the missing ones are only waiting for sury, except swoole, which does not support PHP 8.6.

Main extensions:

Extension Upstream status for PHP 8.6
apcu ⚠️ required Fixed on master; 5.1.28 does not build on 8.6.0, 5.1.29 requested
igbinary ⚠️ required Fixed on master, no release yet
redis ⚠️ required Tested on 8.6 by its CI, no release since 6.3.0
xdebug Supported by 3.6.0alpha1, no stable release yet
imagick Fixed on master, no release yet
memcached Fixed on master, no release yet
mongodb Supported (2.5.8)
opentelemetry Supported (1.5.0)
msgpack Supported (3.0.1)
yaml Fixed on master, one issue still open
amqp PR open
grpc PR open
pcov PR open, project not very active
rdkafka No news
swoole ❌ Not supported, "not considered in the short term"

Other extensions:

Extension Upstream status for PHP 8.6
ast Supported (1.1.4)
zstd Supported (0.16.0)
ds, excimer, imap Fixed on master, no release yet
decimal, lz4, mcrypt PR or issue open
pspell, uploadprogress, xmlrpc PR open, dormant project
gnupg, inotify, mailparse, uuid No news

Other changes

  • 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 15 images of PHP 8.6 build and pass the tests, before apcu, igbinary and redis were made required again.

sury only publishes the extensions of the PHP source for PHP 8.6.0 so far: extensions/8.6 only lists those,
and apcu, igbinary and redis, enabled by default in the fat images, so that the build fails until sury
publishes them. The tests of the other extensions are skipped when they are 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.

This branch has not been deployed

No deployments
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