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 trialMichael Timbs
15,761 PointsPHP in Sublime Text 2
I like to use Sublime Text 2 instead of workspaces with TreeHouse courses. I have never had an issue until I started the PHP track. What build system should I be using to preview? I'm just using the Google Chrome like I would for a HTML preview but all my PHP code is being commented out by the browser.
Do I need to install some kind of PHP interpreter on my computer?
1 Answer
Sean T. Unwin
28,690 PointsYou need to run a server with PHP installed.
XAMPP ( Windows ) or MAMP( OSX ) are very common for local development.
To help you understand what this is for and assistance with installing I suggest doing all of the Getting Started with PHP section of the Build a Simple PHP Application course.
Michael Timbs
15,761 PointsMichael Timbs
15,761 PointsThanks I was just reading up on this on the web. I have just started the PHP track as I want to get familiar with PHP. I might just use Workspaces as I already have Nodejs and MongoDB installed on my local machine as I spend most of my time with those guys and cant really be bothered with XAMPP if i'm not going to be doing any serious dev in the near future with PHP/MySQL.