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

Problem with XAMPP

I just started the installation video and followed the instructions to the letter. I got the server installed but in the last part of the video, where you replace test.php in this path localhost/xampp, so you have localhost/test.php, when you refresh the browser you get a 404 error.

Also the part of the video where you just put localhost in your browser and press enter, I get bounced back to localhost/xampp NOT the view that you are supposed to get in the video.

I cant get past that and its frustrating when you want to move ahead.

1 Answer

hi Austen Robinson,

just put your file test.php following folder

1)in your local disc C: drive --> next open Xampp Folder --> open htdocs folder --> paste your test.php file inside of the htdocs folder 2)after open your browser type http://localhost/ 3)after you can see the http://localhost/xampp/ 4) just remove the xampp/ from the path 5)type http://localhost/test.php now refresh you browser you can see your php page