Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

share|improve this question

1 Answer 1

up vote 3 down vote accepted

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.

share|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

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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