Php-mysqlnd crashes on startup
I found a php warning in the log today.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqlnd_memcache.so' - /usr/lib64/php/modules/mysqlnd_memcache.so: undefined symbol: memcached_strerror in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysqlnd.so' - /usr/lib64/php/modules/pdo_mysqlnd.so: undefined symbol: php_pdo_register_driver in Unknown on line 0
Regarding php info mysqlnd is loaded but without memcached plugin.
This is Centos 6.6
php 5.4.42
mysqlnd 5.0.10
And I donβt know what to do as I cannot just uninstall and reinstall due to some complicated dependencies. Is it possible to fix it without yum remove / install to keep the dependency alive?
Any help is greatly appreciated.
+3
source to share
1 answer
Warning: PHP startup: Unable to load dynamic link library '/usr/lib64/php/modules/pdo_mysqlnd.so' - / usr / lib64 / php / modules / pdo_mysqlnd.so: undefined symbol: php_pdo_register_driver on Unknown on line 0 -
this fix by creating a file with extension = pdo.so in / etc / php.d /
0
source to share