Find the answer to your Linux question:
Results 1 to 3 of 3
I have a very wierd problem. When I go to htpp://localhost/phpmyadmin, I get a message saying that I'm trying to open a PHTML file, and please choose what program to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! pianomatrix's Avatar
    Join Date
    May 2007
    Location
    Minnesota, USA
    Posts
    39

    phpmyadmin not working in localhost


    I have a very wierd problem. When I go to htpp://localhost/phpmyadmin, I get a message saying that I'm trying to open a PHTML file, and please choose what program to open with. However, when I go to http://www.mydomain.com/phpmyadmin, it lets me through. What could be the problem?

  2. #2
    Just Joined!
    Join Date
    Dec 2007
    Posts
    23
    What do you have in /etc/hosts?

  3. #3
    Just Joined! pianomatrix's Avatar
    Join Date
    May 2007
    Location
    Minnesota, USA
    Posts
    39
    Thanks mentionining /etc/hosts. I went in there, and changed
    127.0.1.1 ubuntu.hsd1.mn.comcast.net
    ...to...
    127.0.1.1 mydomain.net
    ...and now everything works!

  4. $spacer_open
    $spacer_close

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •