I get this error message on the phpMyAdmin login page:

  • phpMyAdmin: Cannot load mcrypt extension. Please check your PHP configuration.

Does someone knows the reason for it?

Thanks, Udo


The most likely explanation is that the mcrypt add-on for php is not installed.

Try logging in and running the following:

sudo apt-get install php5-mcrypt
sudo /etc/init.d/apache2 restart

I expect the first command will install the missing package. The second command restarts apache so that the mcrypt add-on is activated.

If you get a message that php5-mcrypt is already installed we'll have to do some more digging.

| improve this answer | |
  • I get..... sudo: apt-get: command not found – user89171 Jul 6 '11 at 21:06
  • @Elliot what OS are you on? You may not have apt-get – Simon Sheehan Jul 6 '11 at 21:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.