Topic: php-fpm and mysqlnd driver
Hi,
I'm trying to activate the mysqlnd driver when recompiling the php 5.3.3 RPMs. I've changed the configuration options to use mysqlnd (e.g.: --with-pdo-mysql=shared,mysqlnd). This works for the cli version of php but with mod_php and fpm I get the following errors:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysql.so' - /usr/lib64/php/modules/mysql.so: undefined symbol: _mysqlnd_fetch_lengths in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/mysqli.so' - /usr/lib64/php/modules/mysqli.so: undefined symbol: mysqlnd_get_client_version in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/pdo_mysql.so' - /usr/lib64/php/modules/pdo_mysql.so: undefined symbol: mysqlnd_allocator in Unknown on line 0
Apparently the mysqlnd stuff doesn't get linked into mod_php and the cgi sapi. Any idea what the proper fix for that would look like?
Regards,
Dennis