Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PHP memcached - igbinary_serialize_serialize in Unknown on line 0

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

like image 240
Edgar Alfonso Avatar asked Oct 16 '22 07:10

Edgar Alfonso


1 Answers

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
like image 142
Isa Avatar answered Oct 18 '22 20:10

Isa