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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![samuelk](https://secure.gravatar.com/avatar/7a2a5d0428ac19fe89bdca1df8e826a7?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
samuelk
2,100 PointsLocalhost
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](https://secure.gravatar.com/avatar/c2b2872f48c222732218df9be85e1ed2?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Stone Preston
42,016 Pointsmake 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
![Lloyd Lenz](https://secure.gravatar.com/avatar/45621965028a420c797fa64aa1c663de?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Lloyd Lenz
20,157 Points-edit-
oops, I misread your post and thought you were on the "ruby on rails" courses
![Stone Preston](https://secure.gravatar.com/avatar/c2b2872f48c222732218df9be85e1ed2?s=60&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Stone Preston
42,016 Pointshes doing a PHP course, not rails.
![samuelk](https://secure.gravatar.com/avatar/7a2a5d0428ac19fe89bdca1df8e826a7?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
samuelk
2,100 PointsHi 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?
Regards!
![Darryl Amatsetam](https://secure.gravatar.com/avatar/f4d63ca109a469d48af2ed5e55aba219?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Darryl Amatsetam
6,141 PointsI'm very interested in how to get this resolved as well.