方法:linux
apahce啓動命令:
推薦/apachectl start apaceh啓動apache
apache中止命令
/apachectl stop 中止服務器
apache從新啓動命令:
/apachectl restart 重啓rest
要在重啓 Apache 服務器時不中斷當前的鏈接,則應運行:service
/apachectl graceful方法
若是apache安裝成爲linux的服務的話,能夠用如下命令操做:top
service httpd start 啓動vi
service httpd restart 從新啓動httpd
service httpd stop 中止服務tar