After the library libmysqlclient.so.18 was renamed to libperconaserverclient.so.18 php-fpm from remi repository (and I think other packages) does not see libmysql:
[root@centos5-php-test mysql]# php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/libmysqlclient.so.18: version `libmysqlclient_16' not found (required by /usr/lib64/php/modules/mysql.so) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - /usr/lib64/libmysqlclient.so.18: version `libmysqlclient_18' not found (required by /usr/lib64/php/modules/mysqli.so) in Unknown on line 0
After the library libmysqlclient. so.18 was renamed to libperconaserve rclient. so.18 php-fpm from remi repository (and I think other packages) does not see libmysql:
[root@centos5- php-test mysql]# php -v php/modules/ mysql.so' - /usr/lib64/ libmysqlclient. so.18: version `libmysqlclient_16' not found (required by /usr/lib64/ php/modules/ mysql.so) in Unknown on line 0 php/modules/ mysqli. so' - /usr/lib64/ libmysqlclient. so.18: version `libmysqlclient_18' not found (required by /usr/lib64/ php/modules/ mysqli. so) in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/
Soname:
[root@centos5- php-test mysql]# readelf -a libperconaserve rclient. so.18 | grep soname erclient. so.18]
0x000000000000000e (SONAME) Library soname: [libperconaserv
[root@centos5- php-test mysql]# rpm -q Percona- Server- shared- 56.x86_ 64 --provides so.18() (64bit) rclient. so.18() (64bit) rclient. so.18(libpercon aserverclient_ 18)(64bit)
libmysqlclient.
libperconaserve
libperconaserve
Seems php-mysql does not see the library that provides Percona- Server- shared- 56.x86_ 64