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.

i have www doc in html folder. i go to 192.168.1.1/phpmyadmin to pull it up. but when i ftp there i dont see any phpmyadmin folder under html folder. how can i find where phpmyadmin folder is? i am using centos

share|improve this question
add comment

4 Answers

I've found that many distributions would rather install an application's web files within /usr/lib or /usr/share as a convention. As such, you may want to verify your apache configuration files to determine the exact path.

In this case, most likely you'll have the phpmyadmin apache directives within a file located within /etc/apache2/conf.d or /etc/httpd/conf.d or the like. The configuration file will have a statement which will detail the location of your files.

share|improve this answer
add comment

You don't see any phpmyadmin folder when accessing your hosting via FTP because it's an alias, some kind of virtual folder.

If you have an SSH access to your hosting, phpMyAdmin is usually located in /usr/share/phpmyadmin. If you don't find it there, try to locate it :

$ locate phpmyadmin
share|improve this answer
add comment

It's probably in /var/www/html/phpmyadmin, but take a look at your Apache configuration files to make sure (try grepping for phpmyadmin in all your Apache config directories).

share|improve this answer
    
i tried $ > grep phpmyadmin. Is that correct? –  user64734 Dec 26 '10 at 21:38
add comment

On CentOS, check: /usr/share/phpMyAdmin

If not there, do a

$whereis phpMyAdmin
share|improve this answer
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.