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 Getting to Know PHP Getting Started with PHP

How to set my computer?

I don't want to use the workspace. How to set my computer and see the code for PHP? I am using Sublime Text and what else do I need to use.

Download the project files -they are shown below the video player- Then place the folder on your desktop. And drag and drop them onto your text editor.

dede hurren
dede hurren
11,535 Points

You will also need to set up a local server in order to see the php code render in the browser. Take a look at mamp or xampp (if you're using windows).

3 Answers

You will need an apache such as xampp at first so you can run PHP locally. This is their website https://www.apachefriends.org/index.html

Then you need to download the workspace and drag the folder in to you htdocs folder wich is inside the xampp folder. There are several tutorials on youtube.

Also for an IDE, I would suggest you either Atom, NetBeans or VC Studio. Brackets give a headache with allowing PHP to run on it.

Thank you very much I already find the answer. I am going to use WAMP