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 PHP Basics (Retired) PHP Data & Structure PHP Variables

Andrei Punei
Andrei Punei
14,051 Points

Install additional?

Do I have to install any additional programs or servers for php to work, it's working on my workspace on treehouse but it's not working in my usual editor.

1 Answer

PHP is server-side that means that it get executed on the server. So you can't just open it like a html file in the browser you need a server. personaly I use USBWebserver http://www.usbwebserver.net/ its fast and in 10 seconds you can set it up but you can also use XAMP https://www.apachefriends.org/index.html.

Sorry for my bad English, but i hope this wil help you.