From the UTillyty dokuwiki
Differences
This shows you the differences between two versions of the page.
|
knowhow:apache2 [2010/03/16 03:22] attilio pavone |
knowhow:apache2 [2010/03/16 05:55] (current) attilio pavone |
||
|---|---|---|---|
| Line 3: | Line 3: | ||
| ===== Ubuntu layout ===== | ===== Ubuntu layout ===== | ||
| + | <code> | ||
| ServerRoot :: /etc/apache2 | ServerRoot :: /etc/apache2 | ||
| DocumentRoot :: /var/www | DocumentRoot :: /var/www | ||
| Line 15: | 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 | ||
| + | |||
