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

PHP

Jonathan Prada
Jonathan Prada
7,039 Points

Echo is not printing my name inside index.php, on workspace and locally.

Echo is not printing my name inside index.php, on workspace and locally.

Algirdas Lalys
Algirdas Lalys
9,389 Points

Hi, could you paste your code here. Because it's difficult to say what is missing.

3 Answers

Algirdas Lalys
Algirdas Lalys
9,389 Points

Yes if you want that PHP (Server Side Language) worked for you locally, you need to install Web Server like apache. I would suggest to try XAMP(cross platform) / WAMP(macs) or MAMP(windows) which is a bundle of PHP /Web Sever and MySQL database it's really a great pack. But for learning purposes treehouse Workspaces is really powerfull tool, I love it:) Link to XAMP download

Jonathan Prada
Jonathan Prada
7,039 Points

I fixed it on the workshop. Locally on my pc is still not, do i need to install php or a web server on my pc for it to work?

Jonathan Prada
Jonathan Prada
7,039 Points

Thanks once I finish the site on workspace I will try it out locally!