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 trialFu Wong
382 Pointsmamp is running fine, but it won't load index.php
mamp is running fine, but it won't load index.php. it's giving me a blank page. it doesn't display any files. i'm loading localhost
6 Answers
Fu Wong
382 Pointsnever mind. i figured it out. thanks!
Yorick Toma
742 PointsWhen you open index.php in a file editor, is there any content in it ? If there isn't any paste this:
<?php
echo phpinfo();
and try it again, you should get a overview of the php configuration.
( I never used mamp and running Windows, but that shouldn't be a problem if mamp runs fine. )
Fu Wong
382 Pointsyes, there's content in index.php
still blank in chrome and firefox
Fu Wong
382 Pointsthis is for the Shirts 4 Mike exercise
Fu Wong
382 Pointsso when i'm changing index.html to index.php (as the video says), that's when i get into trouble, and the browser goes blank. any suggestions?
Bad Idea PH
14,031 PointsHi! Can I ask what your solution for this was? I'm currently experiencing the same problem :) I'm using a simple PHP include command.
Justin LeFurjah
12,347 PointsJustin LeFurjah
12,347 Pointswhat was your solution?