When installing redis and igbinary in the same command, the installer prefers a pre-built binary for redis. This pre-built binary is compiled without igbinary support.
Steps to Reproduce
Dockerfile:
FROM phpswoole/swoole:6.1.4-php8.4-alpine
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions igbinary redis
Undefined constant Redis::SERIALIZER_IGBINARY
FROM php:8.4.12-alpine
COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/
RUN install-php-extensions igbinary redis
works good
When installing redis and igbinary in the same command, the installer prefers a pre-built binary for redis. This pre-built binary is compiled without igbinary support.
Steps to Reproduce
Dockerfile:
Undefined constant Redis::SERIALIZER_IGBINARY
works good