Q : Comment installer le serveur Apache HTTP pour activer le service Web ?
sudo apt-get install apache2
Q : Comment installer PHP pour le serveur HTTP Apache ?
sudo apt-get install php4
sudo gedit /var/www/testphp.php
<?php phpinfo(); ?>
Q : Comment installer MYSQL pour le serveur HTTP Apache ?
sudo apt-get install libapache2-mod-auth-mysql
sudo apt-get install php4-mysql
sudo /etc/init.d/apache2 restart
Q : Comment utiliser des répertoires différents de /var/www pour vos URL ?
sudo gedit /etc/apache2/conf.d/alias
Alias /URL-path /location_of_folder/ <Directory /location_of_folder/> Order allow,deny Allow from all </Directory>
sudo /etc/init.d/apache2 restart