We're a community of 1.1M IT Pros here for help, advice, solutions, professional growth and fun. Join us!
1,080,534 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Start New Discussion Reply to this Discussion

Unable to access phpmyadmin in browser

Hello
I've installed phpmyadmin using the command apt-get install phpmyadmin, however am unable to open its login page in my web-browser when I type http://localhost/phpmyadmin
Installation was done properly and I can view the MySQL server from the webmin page.

Error is:

Not Found

The requested URL /phpmyadmin was not found on this server.
Apache/2.2.16 (Ubuntu) Server at localhost Port 80


Anyone knows how to make the phpmyadmin page load?

3
Contributors
3
Replies
8 Months
Discussion Span
1 Year Ago
Last Updated
4
Views
Question
Answered
lordrt
Posting Pro in Training
484 posts since Jul 2010
Reputation Points: 30
Solved Threads: 33
Skill Endorsements: 0

It depends on your directory structure.

Issue this command to find your base directory:

~# cat /etc/apache2/sites-available/default | grep DocumentRoot

For example, if your document root is set as /var/www/htdocs

Then the URL localhost/phpmyadmin would mean that the phpmyadmin folder is located in /var/www/htdocs. If the phhpmyadmin folder isn't in there, then your path is wrong.

Hope that makes sense,
Regards,
ns

nonshatter
Posting Whiz
377 posts since Nov 2009
Reputation Points: 39
Solved Threads: 64
Skill Endorsements: 0

Finally figured out had to use this command instead to solve the problem, and needed to reload apache2 :

sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
lordrt
Posting Pro in Training
484 posts since Jul 2010
Reputation Points: 30
Solved Threads: 33
Skill Endorsements: 0
Question Answered as of 2 Years Ago by nonshatter

Anyone knows how to fix this problem on windows 7?

tinker
Newbie Poster
13 posts since Oct 2009
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0

This question has already been solved: Start a new discussion instead

Post: Markdown Syntax: Formatting Help
 
You
View similar articles that have also been tagged:
 
© 2013 DaniWeb® LLC
Page generated in 0.0609 seconds using 2.65MB