Skip to content

redis extension ignores igbinary when installed together (pre-built binary lacks support) #64

@error1001es

Description

@error1001es

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions