Error when trying to access phpmyadmin through browser

Hi:
I have a Centos 6 server. I installed phpMyAdmin following directions found in this link http://www.itbox4vn.com/2011/08/how-to-install-phpmyadmin-34-on-centos.html
I substituted the version for 3.4.5. After installation, when I try to access phpMyadmin through the browser I get:
404 Not Found

Thanks!
pcelementsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Hugh McCurdyCommented:
It sounds like the file doesn't exist.  

How exactly are you trying to get to phpMyadmin?  (You can change the domain of the URL if you are trying to keep that a secret.)

Thanks for letting me know that Centos 6 is out.  I lost track of the status.
0
pcelementsAuthor Commented:
I try to access from the server in the browser by going to http://localhost/phpmyadmin or from another computer by http://172.xxx.xx.xx/phpmyadmin
0
Hugh McCurdyCommented:
It might be http://172.xxx.xx.xx/phpmyadmin.php

Just a guess.  If you know how, look around from the shell to see what's there.  
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

pcelementsAuthor Commented:
What do you mean?
0
Hugh McCurdyCommented:
The URL might need a .php on the end so that the file is processed by the PHP pre-processor.  This is assuming the file even exists.

Looking around is a suggestion that, if the above suggestion doesn't solve the problem, that you try to find out what the file is actually called.
0
ropennerCommented:
find the apache or web server directory.
check the phpmyadmin configuration file in the:
 ...... apache2/conf.d/

called
     phpmyadmin.conf

in there it will give the directory that phpmyadmin is in and what alias will get you there in a line like.

   Alias /phpmyadmin /usr/share/phpmyadmin

ensure that the '/usr/share/phpmyadmin' path exists and is readable by the apache process (possibly www-data user and group)
0
pcelementsAuthor Commented:
phpMyadmin was installed in the /var/www/html/phpmyadmin/ directory. My webites are in /var/www/virtualdomains/ directory. My apache directory is located at /etc/httpd/. I have no phpmyadmin.conf file here or in any of the directories mentioned.
0
ropennerCommented:
There will need to be this line somewhere in the apache /etc/httpd configuration.  Either httpd.conf, apache2.conf or conf.d/somefile.conf depending on the apache version.
 
   Alias /phpmyadmin /var/www/html/phpmyadmin

I don't think it matters where it appears as long as it is in one of those files.  I think apache2 has split up the original single configuration file that used to be called httpd.conf into multiple files now but they all get loaded on startup.  Therefore as long as one of them gives the phpmyadmin alias to the correct location of the phpmyadmin install it will be found after restarting apache
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
pcelementsAuthor Commented:
I added the line Alias /phpmyadmin /var/www/html/phpmyadmin to the httpd.conf file and I was able to access phpmyadmin. Thanks!!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apache Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.