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

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


share|improve this question

closed as off-topic by HopelessN00b, HBruijn Feb 24 at 19:19

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the 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

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


find / -type d -name "phpmyadmin" -print
share|improve this answer
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

For cPanel/WHM server, below is the location for phpmyadmin


It is not recommended to edit any files directly in a cPanel server, something may broke(Unless of course you know what you are doing).

Working of phpmyadmin is little bit different in cPanel, simply calling "" do not work in cPanel by default and can only access within from cPanel or WHM.

share|improve this answer