Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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'm running a simple LAMP server at home from which I host a personal blog. The server is running Arch Linux, with the latest-and-greatest versions of Apache, MySQL, and PHP. In order to easily maintain the databases, I installed phpMyAdmin. However, I cannot login. If I were to SSH into the server and run mysql -u <user> -p <password>, no errors show up and I'm immediately placed into the MySQL prompt. No problem.

However, when I try to log in with phpMyAdmin, using those exact same credentials, nothing happens. No errors, no nothing, I'm just redirected back to the login page.

Did I do something wrong?

share|improve this question
As per the FAQs, Server Fault usually frowns upon questions in a home setting - the question would be better suited to SuperUser. That said, as a starting point check your php.ini settings for session.save_path (e.g. using phpinfo()) and ensure that path is writeable by the user PHP is running as (and check your server logs for errors). – cyberx86 Mar 14 '12 at 2:29
Duly noted. Thanks for the help. – Zach Dziura Mar 14 '12 at 4:50

Installing the mcrypt php module solved the issue for me (apt-get install php5-mcrypt).

How I found the issue:

  1. Set $cfg['Error_Handler']['display'] = true; in
  2. Set authentication mode from cookie to http
  3. Log in and see the error message that mcrypt is missing.
share|improve this answer

Got the same symptom with phpMyAdmin on a CentOS server. (Kept trying to log in but kept getting redirected to the login screen, without any error nor warning.) It turned out the webspace was simply out of space. Making some room fixed it.

share|improve this answer

Maybe you did the wrong configuration information. Let 's try to delete file and try again. In this case, it will ask you login as default configuration.

share|improve this answer

Your Answer


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.