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 trialbohboh00
2,545 PointsHow do I work with PHP on my PC?
I mean: I have Atom-Text Editor on my PC, that I used to learn and exercise with HTML and CSS. Can I do the same now with PHP? Or do I have to install an other program to code in PHP locally? I'm asking this cause I would like to exercise by myself and not always using the Treehouse workspace. Thanks
2 Answers
Jonathan Grieve
Treehouse Moderator 91,253 PointsHi Allessandro.
To work with PHP on your computer you'll need to install a local server. There are a number of options for you to do this such as XAMPP, WAMP or Desktop Server.
These will use a certain location on your desktop where you can store files and use it like you would a web host. It'll allow you to store and use PHP files as if you were online.
Klobi Tonne
8,571 PointsHi Alessandro,
go to http://php.net/downloads.php hat download the latest version of php. Unzip it into C:\php and add this to your PATH My Computer > Properties > Advanced System Settings > Environment Variables write ";C:\php" after the last entry
Samwel Njenga
1,355 PointsSamwel Njenga
1,355 PointsI have installed the wamp server in my pc. It is working well with my html and css files correctly. How do I see what I am doing on php?