I got error message "mysqli extension is missing. Please check your PHP configuration."

Then installed MySQL extension for PHP using below command:

Code:
sudo apt-get install php5-mysql
After that, edited /etc/php5/apache2/php.ini file and uncommented below line:

mysqli.allow_local_infile = On

and restarted apache server. This resolved the error and phpmyadmin started working.