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!
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
josefina terrera16,506 Points
I can't view my php file on my browser. -ubuntu-
I've been trying for some time to view my file on the browser. I have lamp already installed and it is running, but I cannot view the php file like an html file. If I type localhost, I get the "It works" message. If I type http://localhost/info.php I get the purple screen. What I'm trying to do is simply view my file. Thanks!
Laura Steiner5,062 Points
There's a good chance you just need to move the file to the right location. Where is your file saved? In WIndows, it needs to be in [C]:\wamp\www. From a web search, it looks like your file should be in: /var/www/html/ If that's not right, maybe the lesson/supplemental material will point you in the right direction.