Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer

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 domain.com/phpmyadmin

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

Your Answer

 
discard

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.