Webmasters Stack Exchange is a question and answer site for pro webmasters. 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 installed Apache and then PHPMyAdmin on my Ubuntu server, but I have not been able to access PHPMyAdmin at http://localhost/phpmyadmin/. http://localhost is working however.

share|improve this question
Where did you install phpmyadmin to? – paulmorriss Feb 16 '12 at 15:23
How did you "install" it? It should just be in whatever folder you put it in. – DisgruntledGoat Feb 16 '12 at 16:51
up vote 1 down vote accepted

What errors did the error logs (access and or error logs)? That would help determining the issue. Could be a socket issue, but could be a url issue too. I assume PHP is installed too?

share|improve this answer

You'll need an Ubuntu server with initial setup and a LAMP Server

If you haven't installed the LAMP Server. You can follow the steps on the below link to install it.


Then Install the phpMyAdmin in your server. Follow the steps on the link below.


share|improve this answer

Did you install MySQL?

Another possibility is to download phpmyadmin and extract is to htdocs/phpmyadmin.


share|improve this answer

If you are trying to open http://localhost/phpmyadmin/ and getting 404 Error then follow steps.

sudo nano /etc/apache2/apache2.conf

Add the phpmyadmin config to the file:

Include /etc/phpmyadmin/apache.conf

then restart apache:

sudo service apache2 restart
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.