Installing LAMP (Linux – Apache – MySQL – PHP) on Ubuntu is pretty straight forward.
1st we install Apache.
Go to your Terminal and type in sudo apt-get install apache2
2nd step
sudo apt-get install php5 libapache2-mod-php5
3rd step
sudo apt-get install mysql-server
4th step
Just make sure Apache is running
In your terminal enter
sudo /etc/init.d/apache2 restart
And if you are stuck, google is always available