English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux apachectl Command

Linux Command Manual

The Linux apachectl command is used to control the Apache HTTP server program.

apachectl is a script file included with Apache HTTP server in slackware, which can be used by administrators to control the server, but this file may not be present in Apache HTTP servers of other Linux distributions.

Syntax

apachectl [configtest][fullstatus][graceful][help][restart][start][status][stop]

Parameters:

  • configtest Check if the syntax in the configuration file is correct.
  • fullstatus Display detailed status information of the server.
  • graceful Restart Apache server without interrupting existing connections.
  • help Display help information.
  • restart Restart Apache server.
  • start Start Apache server.
  • status Display summary status information of the server.
  • stop Stop Apache server.

Linux Command Manual