Skip to content

[PHP] memcached extension needs to be loaded after igbinary extension #84

@freswa

Description

@freswa

For php-8.3-opt-memcached the config lets the module load before the igbinary module which leads to

Sep 25 09:49:29 d02 php-fpm[95634]: [25-Sep-2025 09:49:29] NOTICE: PHP message: PHP Warning:  PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /opt/php-8.3/lib/extensions/no-debug-non-zts-20230831/memcached.so (/opt/php-8.3/lib/extensions/no-debug-non-zts-20230831/memcached.so: undefined symbol: igbinary_serialize), /opt/php-8.3/lib/extensions/no-debug-non-zts-20230831/memcached.so.so (/opt/php-8.3/lib/extensions/no-debug-non-zts-20230831/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

Renaming the config to zz_30_memcached.ini fixes the issue.

Also the memcached.ini does not load the module at all without editiing it's content. That's unusual as the other modules load by just installing the package. Maybe that's not intended as well?

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