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

I have centos with cpanel whm. I have phpmyadmin installed on whm.

i want to know where is the folder where phpmyadmin is installed

something like

/var/www/whm/phpmyadmin

share|improve this question
what linux distribution are you running? – Paul Jun 9 '10 at 9:18
@Paul: Master is running CentOS – Richard Holloway Jun 9 '10 at 22:14

2 Answers

You need to look in the configuration file to see where it is set up.

Something like this will find it

find /etc/httpd/ -print0 | xargs -0 grep phpmyadmin

Which will return something like this

/etc/httpd/conf.d/http.conf:    Alias /phpmyadmin /usr/local/share/phpmyadmin

Or look for the folder itself

locate phpmyadmin

or

find / -type d -name "phpmyadmin" -print
share|improve this answer
1  
Master, did you ever find your phpmyadmin folder? I installed phpmyadmin today form the repos and it was installed to /usr/share/phpmyadmin. It is likely to be the same location for you too. – Richard Holloway Aug 13 '10 at 23:31

It depends on where it was installed. If you can access it via the web, you can find out by looking at your apache/favorite_httpd config files.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.