
Apache is the most commonly used web server. It is a free open source web server. PHP is an open source server scripting language. It has a lot of advantages. MySQL is also an open source database used for small and medium data storage. It can also used for large data storage also.
We can install apache, PHP and MySQL in two ways. 1. Download source code from their site and install. 2 the easiest way install it from synaptic package manager. If you use this method apt-get automatically manage all dependencies. So I explain the second method here.
1. Open the Terminal from Applications -> Accessories -> Terminal
2. Install apache2 copy paste command to terminal
sudo apt-get install apache2
3. Install PHP5
sudo apt-get install php5 libapache2-mod-php5
4....