phpMyAdmin - Cannot load mySQL extension
Hey all,
Having one long night trying to get phpMyAdmin working on my RHEL4 box. Got mysql install properly: Code:
$rpm -qa | grep -i mysql Code:
$rpm -qa | grep -i php When i try to open up phpMyAdmin i get: Code:
Cannot load mysql extension. Please check your PHP configuration. I downloaded the RPM and trying to install, and get the following: Code:
$rpm -ivh php-mysql-4.3.9-3.22.9.i386.rpm I would much prefer to keep mysql 5 and not have to backtrack. my my.cnf as follows: Code:
$cat /etc/my.cnf Any help would be awsome! Thanks so much. |
another note:
phpinfo reports: Code:
--with-mysql=shared,/usr' '--with-pgsql=shared' '- Code:
$which mysql |
I did finally get php-mysql installed,
restarted mysql, and apache But still getting Code:
Cannot load mysql extension. Please check your PHP configuration. - Documentation Anyone have a suggestion would be awsome! |
I am having the exact same problem but with php5. Any suggestions?
Update: Problem solved by installing php-mysql of the same version as my php installation |
All times are GMT -5. The time now is 11:13 PM. |