3

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

4 Answers 4

4

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
2

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.

0

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

1
  • i tried $ > grep phpmyadmin. Is that correct?
    – user64734
    Dec 26, 2010 at 21:38
0

On CentOS, check: /usr/share/phpMyAdmin

If not there, do a

$whereis phpMyAdmin

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .