Terminal command for installing Apache On Ubuntu:
sudo apt-get install apache2 php5 mysql-client-5.0 mysql-server-5.0 phpmyadmin libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql
then restart the computer/start mysql manually
From: Ubuntu installation tutorial for Apache
Advertisement