Just 5 commands and you have your apache, php, mysql server and phpmyadmin ready on your Ubuntu Linux:
sudo apt-get install mysql-server
sudo apt-get install apache2
sudo apt-get install php5
sudo apt-get install php5-mysql
sudo apt-get install phpmyadmin