7

Recently upgraded PHP to PHP 7.2 on ubuntu-1616.04 and ran into the following error message while execute any php command for example:

php -v

ERROR:

PHP Warning:  PHP Startup: Unable to load dynamic library 'memcached.so' (tried: /usr/lib/php/20170718/memcached.so (/usr/lib/php/20170718/memcached.so: undefined symbol: igbinary_serialize), /usr/lib/php/20170718/memcached.so.so (/usr/lib/php/20170718/memcached.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0

enter image description here

COULD YOU HELPME?

Tnaks

1
  • Did you find a fix for this? I have the same error. Commented Aug 21, 2019 at 22:59

1 Answer 1

6

Old question, but I stumbled upon the same error.

You might be missing igbinary

Install it with:

apt-get install php-igbinary

(You may need to use php7.X-igbinary, depending on your version)

My installation was also missing msgpack, which I installed as well:

apt-get install php-msgpack
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.