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.

  • Where did you install phpmyadmin to? Commented Feb 16, 2012 at 15:23
  • How did you "install" it? It should just be in whatever folder you put it in. Commented Feb 16, 2012 at 16:51

5 Answers 5


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?


I hope this helps http://tech2view.com/not-able-to-access-phpmyadmin-in-ubuntu-404-not-found-error/


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.



Did you install MySQL?

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



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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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