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

General Discussion

Localhost

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

-edit-

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?

Regards!

Darryl Amatsetam
Darryl Amatsetam
6,141 Points

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