Apache - PHP5
Installation d'Apache:
apt-get install apache2 apache2-doc apache2-mpm-prefork apache2-utils libexpat1 ssl-cert
Installation de PHP5:
apt-get install libapache2-mod-php5 php5 php5-common php5-curl php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-json php5-mcrypt php5-memcache php5-mhash php5-ming php5-mysql php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl
A propos de la configuration d'Apache:
Vous pouvez affiner votre configuration:
/etc/apache2/mods-available/dir.conf pour modifier/ajouter les fichiers par défaut d'index
/etc/apache2/ports.conf pour modifier les ports sur lesquels écoute Apache
Activons certains modules utiles:
a2enmod ssl
a2enmod rewrite
a2enmod suexec
a2enmod include
a2enmod rewrite
a2enmod suexec
a2enmod include
Relancez Apache: /etc/init.d/apache2 restart
Pour désactiver un site, utilisez a2dissite. Pour désactiver un module, utilisez a2dismod.
Toujours des infos complémentaires sur http://www.alsacreations.com/tuto/lire/616-Apache-PHP.html
Pour reconfigurer suexec: dossiers users dans /home: http://www.ispconfig.be/wiki/doku.php?id=comment_recompiler_apache_sous_...
