Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .