Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!