Skip to content

[TASK] PHP 8.6: build phpredis from its release candidate 6.4.0RC1 instead of the develop branch - #678

Merged
Kanti merged 1 commit into
masterfrom
task/php86-redis-6.4.0rc1
Nov 27, 2026
Merged

Kanti merged 1 commit into
masterfrom
task/php86-redis-6.4.0rc1

Conversation

@Kanti

@Kanti Kanti commented Nov 26, 2026 •

Copy link
Copy Markdown
Collaborator

Why

The PHP 8.6 images build several extensions from development branches, because no release supported PHP 8.6 (TODO PHP 8.6 in template/Dockerfile/images/php-extensions.twig). phpredis published 6.4.0RC1 on 2026-11-23, its first release with the fixes for PHP 8.6: its package.xml lists "Fix PHP 8.6 compatibility for session handlers, INI APIs, and bin2hex" and "Add PHP 8.6 to Linux, macOS, and Windows CI builds". Building from that tag instead of the moving develop branch makes the build of the PHP 8.6 images reproducible for redis.

What

  • template/Dockerfile/images/php-extensions.twig: for PHP 8.6, "phpredis/phpredis:6.4.0RC1" instead of "phpredis/phpredis:dev-develop", with its own TODO PHP 8.6: switch to phpredis/phpredis once a stable 6.4 is out.
  • docs/images/php.md, section PHP 8.6: redis is the release candidate 6.4.0RC1, not a development branch.
  • make generate (docker/php/8.6, docker/php/8.6-alpine).

The other extensions stay as they are; as of 2026-11-26 none of them has a release with PHP 8.6 support:

Extension Stays on Why
apcu dev-master 5.1.28 has one of its three fixes for PHP 8.6
excimer dev-master the fix came a day after 1.2.7, no tag has it
memcached dev-master the fix is on master, no tag has it
yaml dev-php7 the fix is on php7, no tag has it
amqp commit of php-amqp/php-amqp#638 the pull request is not merged
protobuf latest release with sed for zval_dtor the fix (protocolbuffers/protobuf#31752) is on main since 2026-11-23, in no release
Xdebug ^3.6@alpha only 3.6.0alpha1

How it was verified

  • Packagist: phpredis/phpredis has the version 6.4.0RC1 (normalized 6.4.0.0-RC1, 2026-11-23).
  • PIE: pie download "phpredis/phpredis:6.4.0RC1" resolves the version and stops only at the download, which needs a GitHub token on the test machine; the build of the CI passes one.
  • Not verified: the build of the PHP 8.6 images itself; the CI of this pull request builds them on amd64 and arm64.

@Kanti
Kanti marked this pull request as ready for review November 26, 2026 22:12
…stead of the develop branch

phpredis 6.4.0RC1 (2026-11-23) is its first release with the fixes for PHP 8.6. The PHP 8.6 images build it from
that tag instead of the moving develop branch, so the build is reproducible. Once a stable 6.4 is out, the images
switch to phpredis/phpredis without a version, like the other PHP versions.
@Kanti
Kanti force-pushed the task/php86-redis-6.4.0rc1 branch from 89eaf7a to 9f501a2 Compare November 27, 2026 05:55
@sonarqubecloud

Copy link
Copy Markdown

@Kanti
Kanti merged commit 8bdff4b into master Nov 27, 2026
190 checks passed
@Kanti
Kanti deleted the task/php86-redis-6.4.0rc1 branch November 27, 2026 07:52
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