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 trial2 Answers
Chris Shaw
26,676 PointsHi Milad,
Setting up PHP is a bit complex if you've never done it before as it requires some knowledge of the terminal and setting up LAMP stacks, Ubuntu have a tutorial but it is quite long.
https://help.ubuntu.com/community/ApacheMySQLPHP
Ubuntu 10+ however has the option that lets you install a LAMP stack with a few clicks of the keyboard here and there but it still requires some knowledge of the terminal.
http://www.unixmen.com/install-lamp-with-1-command-in-ubuntu-1010-maverick-meerkat/
Tomas Smalakys
5,501 PointsHi Milad,
On Ubuntu you can install PHP using software center (or something similar name). Type php5 in the search field, wait for the program to be found and install it.
Another option is to use terminal and type in this command: sudo apt-get install php5