Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP Build a Simple PHP Application Getting Started with PHP Install PHP on Windows 7

http://localhost/ not working

Hi

Near the end of the video the instructor deletes xampp from the address bar and only leaves http://localhost/. This does not work for me. My address bar only has localhost/xampp/ and I cannot add the http://.

The XAMPP logo does not appear in the address bar at the top of the page. When I click it and go to connection, it says "the identity of this website has not been verified". Maybe this is why it is not working?

Thank you very much for your help.

Sean T. Unwin
Sean T. Unwin
28,690 Points

Did you have any luck getting this resolved, chris hamid?

Hey guys I need your help here too... I cant get the localhost too

Ila Gupta
Ila Gupta
5,147 Points

Hi Chris, I am facing the same issue as yours. When I am connecting with localhost it is giving me http://localhost/dashboard/ as URL. Not connecting with the directory or any other file in htdocs. It would be helpful if you could tell me the way you solved it. Thank you

3 Answers

In the lesson the instructor removed the "xampp/" from the address bar to get to localhost and see his test.php file, but that didn't work for me. What I had to do was remove "xampp/" and add "test.php/" (the test php file that we created). Then I was able to see the test.php file.

Sean T. Unwin
Sean T. Unwin
28,690 Points

What was the full URL in your address bar?

the address was "localhost/test.php/"

Yes I got it working. Although the way I get to localhost is a bit different than the lessons. Thanks for everybody's help.

Sean T. Unwin
Sean T. Unwin
28,690 Points

Good to hear.

Feel free to share anything you learned if you think it may help others. :)

John Delorbe
John Delorbe
3,192 Points

chris can you share , how you get to localhost?