5-Minute LAMP Server on Ubuntu
This will install a LAMP server in about 5 minutes onto an Ubuntu server:
apt-get install apache2 php5 libapache2-mod-php5 apache2-doc php-pear
apt-get install msyql-server mysql-client php5-mysql
/etc/init.d/apache2 restart
Done!
Your apache conf files are in /etc/apache2/
PHP ini is in /etc/php5/apache2/
Your web root is /var/www/
Enjoy!