PHPMyAdmin problem

250 views
asked Feb 14, 2013 in General by ross (850 points)
Hi..

I am using PhpMyAdmin and I am using:
ubuntu version 12.04
Apache2
PHP5
MySQL
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
Thanks

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
extension=mysqli.so
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 extension=mysql.so  and then restart your apache
...