Skip to content

Fix silently-broken PHP 8.6 redis build#185

Merged
eiriksm merged 2 commits into
mainfrom
claude/redis-missing-8-6-zyl3ip
Jul 18, 2026
Merged

Fix silently-broken PHP 8.6 redis build#185
eiriksm merged 2 commits into
mainfrom
claude/redis-missing-8-6-zyl3ip

Conversation

@eiriksm

@eiriksm eiriksm commented Jul 18, 2026

Copy link
Copy Markdown
Member

No description provided.

claude added 2 commits July 18, 2026 17:58
phpredis git master started calling zend_bin2hex(), a Zend API only
added in PHP 8.6.0alpha2, while builds were pinned to the older
8.6.0alpha1 base image. The compile failure went unnoticed because the
git-source install blocks (redis, igbinary, mailparse, imagick) chained
their build steps with a trailing `;` instead of `&&` before writing
the extension ini file, so a failed `make` didn't stop the script from
still enabling the (non-existent) extension.

- Bump the 8.6 base image to 8.6.0alpha2, which now provides
  zend_bin2hex().
- Pin phpredis to a commit verified to build against it, since its
  unpinned HEAD tracks php-src's development branch closely.
- Chain each git-source build fully through the ini write with &&, so
  a failed build now aborts the script instead of silently continuing.
Rely on the alpha2 base bump plus the fail-fast && chain instead of
pinning to a specific commit.
@eiriksm
eiriksm enabled auto-merge (squash) July 18, 2026 19:14
@eiriksm
eiriksm merged commit 1657b28 into main Jul 18, 2026
19 checks passed
@eiriksm
eiriksm deleted the claude/redis-missing-8-6-zyl3ip branch July 18, 2026 21:11
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.

2 participants