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 Creating the Menu and Footer Starting the Project

Reid Eggleston
Reid Eggleston
1,597 Points

After unzipping the given files and moving them to htdocs, I still can't seem to get the local host to load correctly

When I try to reload localhost after moving the downloaded material to htdocs, the page is still just "index" with my only option to click on test.php. Why isn't the preformed "Shirts 4 Mike" site loading?

1 Answer

Ivan Burda
Ivan Burda
10,897 Points

Hi Reid,

1)When you download the materials, extract the folder, open it, open the subfolder with the files you need depending on your system (Mac/Windows), then select all the files inside and copy them 2)Open the C:\xampp\htdocs folder and paste the files in 3)Make sure you have Apache and MySQL running. Do this by launching XAMPP and then activating both. 4)Now open a web browser such as chrome and write to the address line localhost You should see the project.

I hope this helps. If not, please, try providing more details.

Ivan

Reid Eggleston
Reid Eggleston
1,597 Points

Ah, didn't start MySql...thanks!