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

Steven Wade
6,425 Points"localhost" does not refresh. Must close and re-open.
So as I'm going through the PHP lessons, as I update my pages, save them, and refresh the page, nothing happens. Every time I do this I have close my localhost tab and reopen it for anything to take effect. Randy Hoyt, this is definitely a problem that wouldn't be covered in a video lesson.
4 Answers

Kevin Korte
28,149 PointsAre you using a bundled program like XAMPP, WAMPP, etc or did you just install Apache?

Kevin Korte
28,149 PointsWhich browser? Safari, Chrome? Have you tried another browser?

Steven Wade
6,425 PointsI'm using Chrome since it is what I use normally and that all those who do lessons use.

Kevin Korte
28,149 PointsAnd if you close and restart chrome, your php changes take effect, but not if you refresh?

Steven Wade
6,425 PointsI only have to close the window, but essentially, yes but it doesn't happen every time. I'm not sure what makes it decide to do that or not.

Kevin Korte
28,149 PointsMmm, I'm not a developer by any stretch, but it sounds like you have an issue with your Apache configuration. Maybe it's corrupt, maybe something is blocking it...I'm not sure. But it sounds like your php isn't being processed by Apache on reload.
Have you tried using the developer tools on chrome to watch and see if any server requests are made when you refresh?
Steven Wade
6,425 PointsSteven Wade
6,425 PointsI have MAMP installed.