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 trialJames Larivee
3,657 PointsOk, this is all making good sense. But I have 1 question.
So to open up my site, I simply type "localhost" into the web browser and that will open my index.php. But what if im working on 2 projects? It doesn't seem like the browser gives me any options as to what file to open.
1 Answer
Zachary Green
16,359 Pointslocalhost refers to the root folder of the server. if you want multiple projects on the same server then put then in different folders then go to localhost/Folder-Of-Project. you can also look in to the built in server php has. it allows you to start a server at a specific port. http://php.net/manual/en/features.commandline.webserver.php
Marcus Parsons
15,719 PointsMarcus Parsons
15,719 PointsMarked as best answer