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.

General Discussion


I'm following "building simple php application" course. I did set up the localhost and it worked fine the first time, but two days later I couldn't access the site that I've been working on through the localhost anymore. Any suggestion will be appreciated. Thanks!

4 Answers

Stone Preston
Stone Preston
42,016 Points

make sure your server is started. If you are using lamp/xampp/mamp you will have to start which application you are using and then there should be a start server button which will start your local server


oops, I misread your post and thought you were on the "ruby on rails" courses

Stone Preston
Stone Preston
42,016 Points

hes doing a PHP course, not rails.

Hi Stone,

Thanks for the reply! Here is what I got after I started the server:

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 1792 bytes) in C:\xampp\htdocs\Include\header.php on line 1

Any idea about how to increase the memory?


Darryl Amatsetam
Darryl Amatsetam
6,141 Points

I'm very interested in how to get this resolved as well.