Hi guys,

There seems to be a definite problem with MySQL support in the latest
PHP/Apache RPMs. I've got all of the RPMs installed and PHP support
enabled, the php.ini says to load mysql.so, but no matter what, making
MySQL calls fails with:

Fatal error: Call to undefined function: mysql_connect() in
/home/httpd/html/welcome.php on line 13

Calling phpinfo() shows the MySQL extension is not loaded, yet the ini
files has told it to do so. Oddly enough, the GD extension loads fine.
So then I tried using the dl( "mysql.so" ) call and got:

Warning: Unable to load dynamic library
'/usr/lib/php/extensions/mysql.so' - /usr/lib/php/extensions/mysql.so:
undefined symbol: pthread_key_create in /home/httpd/html/welcome.php on
line 11

Which would appear to pin the problem on glibc (I have the latest cooker
version installed).

John

Reply via email to