Server Fault is a question and answer site for system and network administrators. 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

Okay. I installed apache2 and php on my Ubuntu 10.04 machine. I copied the phpmyadmin files to /var/www/phpmyadmin so that the hierarchy looks like this:

-var (755)
   -www (144)
      -phpmyadmin (644)
         -index.php... etc. (644)
      -index.html (644)

The numbers in brackets are the permissions. What permissions should the phpmyadmin folder have? What am I doing wrong?

share|improve this question
up vote 2 down vote accepted
sudo apt-get install phpmyadmin

Then select apache2 as your server. Then whatever your first or default domain name it's

If you want to make it yourself, add an alias to a vhost file like this:

Alias /phpmyadmin /usr/share/phpmyadmin

then you'll need to remove the other alias from your apache2.conf file I believe.

Help File: phpMyAdmin

share|improve this answer
Thanks. For some reason, I had to manually add it to apache2.conf. Oh well. – Nathan Osman May 8 '10 at 5:40

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.