After upgrading the system to Unbuntu update to 22.04, php-fpm can not start, with error

error while loading shared libraries: libwebp.so.6

It seems the shared library is missing. Then just find the current libwebp.so in your system,

find / libwebp.so
/usr/lib/x86_64-linux-gnu/libwebp.so
/usr/lib/x86_64-linux-gnu/libwebp.so.7

I just copy libwebp.so to libwebp.so.6, then problem solved.

Tag:PHP, libwebp.so

Add a new comment.