Apache 命令

Apache 命令

启动
apache/bin/apachectl start

停止
apache/bin/apachectl stop

重启
apache/bin/apachectl restart

重启时不中断当前的连接
apache/bin/apachectl graceful

如果apache安装成为linux的服务的话,可以用如下的命令

启动
service httpd start

停止
service httpd stop

重启
service httpd restart

你可能感兴趣的:(Apache 命令)