Apache
De Linuxmemo.
(Différences entre les versions)
Ligne 16 : | Ligne 16 : | ||
apache2ctl configtest | apache2ctl configtest | ||
- | |||
apache2ctl | apache2ctl | ||
Usage: /usr/sbin/apache2ctl start|stop|restart|graceful|graceful-stop|configtest|status|fullstatus | Usage: /usr/sbin/apache2ctl start|stop|restart|graceful|graceful-stop|configtest|status|fullstatus | ||
/usr/sbin/apache2ctl <apache2 args> | /usr/sbin/apache2ctl <apache2 args> |
Version du 9 mai 2012 à 13:20
Sommaire |
Modules
Lister les modules
apache2ctl -t -D DUMP_MODULES
- (static) signifiant que le module est compilé dans Apache.
- (shared) signifiant que le module est chargé.
Configuration
Tester la syntaxe du fichier de configuration
apache2ctl configtest
apache2ctl Usage: /usr/sbin/apache2ctl start|stop|restart|graceful|graceful-stop|configtest|status|fullstatus /usr/sbin/apache2ctl <apache2 args>