phpMyAdmin is a popular open source package for web database administration. However, I notice that my phpMyAdmin showed a message on its home page “Cannot load mcrypt extension. Please check your PHP configuration”.

phpMyAdmin Cannot load mcrypt extension.Steps to Solve this Problem

Need to install php5-mcrypt package with:

sudo apt-get install php5-mcrypt

then update the software package with:

sudo apt-get update

Finally, you should restart the apache2 server with:

sudo /etc/init.d/apache2 restart

If you visit your phpMyAdmin page again, the error is gone.

phpMyAdmin loads mcrypt extensionReference
Ubuntu forum thread 653434