Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memcached extension is not working in php8 images #321

Open
VENTOURA opened this issue Aug 29, 2022 · 1 comment
Open

Memcached extension is not working in php8 images #321

VENTOURA opened this issue Aug 29, 2022 · 1 comment
Labels
bug confirmed Bug reproduced and qualified

Comments

@VENTOURA
Copy link

I am trying to use php8 images but looks like memcashed extension is not working, I am getting this error:
PHP Warning: PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/lib/php/20200930/memcached.so (/usr/lib/php/20200930/memcached.so: undefined symbol: php_msgpack_serialize), /usr/lib/php/20200930/memcached.so.so (/usr/lib/php/20200930/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

PHP: syntax error, unexpected '(' in /etc/php/8.0/cli/conf.d/generated_conf.ini on line 2

I tried several ways to configure the extension in my docker-compose file, but nothing changed.
Anyone facing the same issue or knows how to solve it?
Screenshot 2022-08-29 at 14 43 18
Screenshot 2022-08-29 at 14 43 38

@mistraloz mistraloz added the bug confirmed Bug reproduced and qualified label Aug 30, 2022
@McLone
Copy link

McLone commented Mar 13, 2023

@VENTOURA Late answer, but I just stumble on it myself, and found the solution here : https://stackoverflow.com/questions/22927424/php-memcached-php-msgpack-serialize-in-unknown-on-line-0

=> Just add the msgpack extension, and everything should be fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug confirmed Bug reproduced and qualified
Projects
None yet
Development

No branches or pull requests

3 participants