Differences

This shows you the differences between two versions of the page.

knowhow:apache2 [2010/03/16 03:21]
attilio pavone created
knowhow:apache2 [2010/03/16 05:55] (current)
attilio pavone
Line 1: Line 1:
 +====== Apache2 ======
 +
 +===== Ubuntu layout =====
 +
 +<code>
ServerRoot              ::      /etc/apache2 ServerRoot              ::      /etc/apache2
DocumentRoot            ::      /var/www DocumentRoot            ::      /var/www
Line 10: Line 15:
binaries (apachectl)    ::      /usr/sbin binaries (apachectl)    ::      /usr/sbin
start/stop              ::      /etc/init.d/apache2 (start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean) start/stop              ::      /etc/init.d/apache2 (start|stop|restart|reload|force-reload|start-htcacheclean|stop-htcacheclean)
 +</code>
 +
 +===== php5 =====
 +
 +sudo apt-get install mysql-client mysql-server php5 php5-mysql
 +
 +move etc/apache2/mods/available/php5.* to mods-enabled
 +

Navigation
Personal Tools