libmysqlclient.so.18: cannot open shared object file: No such file or directory


Apahce Errorlog:
libmysqlclient.so.18: cannot open shared object file: No such file or directory

root@x3430-24863 [/usr/lib64]# php
php: error while loading shared libraries: libmysqlclient.so.18: cannot open shared object file: No such file or directory

which means php needs shared library libmysqlclient.so.18,but it doesn't exit.

Fix:

root@x3430-24863 [/usr/lib64]# ln -s libmysqlclient.so.16 libmysqlclient.so.18
 To create symlink it with before .so file version.

Comments

Popular posts from this blog

KVM & Qemu

PHP Fatal error: Class 'JFactory' not found

docker.errors.APIError: 400 Client Error client is newer than server