> For the complete documentation index, see [llms.txt](https://hezhiqiang.gitbook.io/linux/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://hezhiqiang.gitbook.io/linux/ming-ling/apachectl.md).

# apachectl

Apache服务器前端控制工具

## 补充说明

**apachectl命令** 是Apache的Web服务器前端控制工具，用以启动、关闭和重新启动Web服务器进程。

### 语法

```
apachectl(参数)
```

### 参数

* configtest：检查设置文件中的语法是否正确；
* fullstatus：显示服务器完整的状态信息；
* graceful：重新启动Apache服务器，但不会中断原有的连接；
* help：显示帮助信息；
* restart：重新启动Apache服务器；
* start：启动Apache服务器；
* status：显示服务器摘要的状态信息；
* stop：停止Apache服务器。
