Apache启动命令
shell下运行的命令:
1.启动Apache
# /usr/local/apache2/bin/apachectl start
或
# service httpd start
2.安全重启Apache,即所有子进程在接到结束信号后并不是马上结束,而是处理完当前的任务后结束。
# /usr/local/apache2/bin/apachectl graceful
3.立即重启Apache
# /usr/local/apache2/bin/apachectl restart
或
# service httpd restart
4.停止Apache
# /usr/local/apache2/bin/apachectl stop
或
# service httpd stop