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
Andrew Chappell
12,782 PointsMAMP white screen of death
I'm getting a blank white screen in MAMP while completing the PHP MySQL course and it is frustrating me.
I have turned error reporting on in php.ini file and even increased the memory limit to 128M but I can't seem to solve the issue.
I'm using PHP version 5.5.3. Apache port 8888 MySQL port 8889
Anyone know how I can fix this?
5 Answers
Ralf Koller
4,506 PointsWhat is the php logs saying? /Applications/MAMP/logs/php_error.log Normally white empty screens imply a syntax error or a conflict of any kind.
Andrew Chappell
12,782 PointsThanks Ralf. It was indeed a syntax error. Accidentally named a file databse.php but was calling database.php in the require(..) Is it normal for there to be just a blank white screen even though I have error reporting on?
Ralf Koller
4,506 PointsI am not a php expert, i just experienced the white screen myself a few times and each time it was syntax related - so i guess yes. ;) but don't take that for granted as always there might be an exception. ;)
Andrew Chappell
12,782 PointsFair enough. Well it seems to do the trick so thanks :)
Ralf Koller
4,506 Pointsyou are welcome ;)