Friday, October 26, 2007

Installing Apache2 + PHP5 + MySQL5 on Ubuntu

Apache2 + PHP5 + MySQL5:
sudo apt-get install apache2 php5 mysql-client-5.0 mysql-server-5.0 phpmyadmin libapache2-mod-php5 libapache2-mod-auth-mysql php5-mysql

Start Apache/MySQL this way (although they will be started automatically when installed):
sudo /etc/init.d/apache2 start
sudo /etc/init.d/mysql start

Default WWW Root is:
/var/www/...

Config File is @:
/etc/apache2/apache2.conf