PDA

View Full Version : php53-mysql - required module 'mysqlnd' is not loaded



it_james
12-Jul-2013, 20:00
I am having an issue getting php53-mysql to work. I have SLES 11 SP 2 with php53 installed. Everything works fine until I try and add php53-mysql. Then php breaks because of mysqlnd missing.


PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php5/extensions/pdo_mysql.so' - /usr/lib64/php5/extensions/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
PHP Warning: Cannot load module 'mysql' because required module 'mysqlnd' is not loaded in Unknown on line 0
symbol lookup error: /usr/lib64/php5/extensions/mysqli.so: undefined symbol: mysqlnd_get_client_info


Everything I have read about this error states php has to be built with an environment variable set.

PHP_MYSQLND_ENABLED=yes

summitflier
12-Jul-2013, 21:47
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php5/extensions/pdo_mysql.so' - /usr/lib64/php5

Just curious, do you have php-pdo installed?

it_james
12-Jul-2013, 22:11
I do. I also have pdo-informix and mssql installed and working. It is just the mysql stuff causing issues because of the missing msqlnd from what I can find.