Having one long night trying to get phpMyAdmin working on my RHEL4 box. Got mysql install properly:
$rpm -qa | grep -i mysql
and have php installed:
$rpm -qa | grep -i php
and have apache up and working.
When i try to open up phpMyAdmin i get:
Cannot load mysql extension. Please check your PHP configuration.
I have read many threads and from what I see I need to install php-mysql.
I downloaded the RPM and trying to install, and get the following:
$rpm -ivh php-mysql-4.3.9-3.22.9.i386.rpm
error: Failed dependencies:
libmysqlclient.so.14 is needed by php-mysql-4.3.9-3.22.9.i386
libmysqlclient.so.14(libmysqlclient_14) is needed by php-mysql-4.3.9-3.22.9.i386
php = 4.3.9-3.22.9 is needed by php-mysql-4.3.9-3.22.9.i386
As well i tried the php-mysql-4.3.9-3.15.i386.rpm package, maybe version needed to be the same as PHP. Guess not.
I would much prefer to keep mysql 5 and not have to backtrack.
my my.cnf as follows:
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
Any help would be awsome!
Thanks so much.