sudo aptitude install lamp
sudo apt-get install phpmyadmin
sudo apt-get install php5
a2enmod php5
service apache2 restart