Control the server: /etc/init.d/apache start/stop/reload Documentation debian: /etc/apache2/README Virtual Hosts ************* 1) Add new host to DNS: a) Edit /etc/hosts and add host to line beginning 127.0.0.1 localhost.localdomain ... b) Run, hostname localhost.localdomain, to update hosts 2) Create new virtual host file in /etc/apache2/sites-available. ServerAdmin webmaster@php-test ServerName php-test DocumentRoot /home/maxmil/work/test/php-test/docs Order Deny,Allow Allow from all 3) Enable new virtual host: a2ensite 4) Reload apache: /etc/init.d/apache2 reload Note: To remove host run a2dissite (and optionally delete configuration from /etc/apache2/sites-available Modules ******* Similar to virtual hosts, use a2enmod and a2dismod PHP **** Must install apt-get install php4-mysql module for mysql extension to load and work. Otherwise get "Undefined function mysql_connect()" error.