PHPMyAdmin problem

asked Feb 14, 2013 in General by ross (850 points)

I am using PhpMyAdmin and I am using:
ubuntu version 12.04
When I start my PhpMyAdmin, I get this error
phpMyAdmin - Error
The mysqli extension is missing. Please check your PHP configuration.
The phpinfo(); script, doesn’t show any information about MYSQL extension.
How can I fix this? Please help

2 Answers

1 like 0 dislike
answered Feb 14, 2013 by SmartHost (9,060 points)
The latest phpMyAdmin versions require the extension MYSQLI and wouldn’t work with MYSQL extension.
Run this command to install the packages for the old and new versions.
sudo apt-get install php5-mysql
sudo apt-get install php5-mysqli

Then add the below line to your php.ini and restart Apache
0 like 0 dislike
answered Feb 14, 2013 by TopNet (10,360 points)
edited Feb 14, 2013 by TopNet
In your php.ini file, uncomment  and then restart your apache