1. 程式人生 > >apache常用命令

apache常用命令

apache

/opt/server/apache/bin/apachectl -t #檢查語法

/opt/server/apache/bin/apachectl start #啟動

/opt/server/apache/bin/apachectl graceful 平滑重啟

/opt/server/apache/bin/apachectl -l #查看已安裝/編譯的模塊

strace /opt/server/apache/bin/apachectl -M #strace 跟蹤一個進程的使用情況,結果會告訴你,哪些是靜態模塊哪些是動態模塊


本文出自 “青春鄧勇” 博客,請務必保留此出處http://dengyong.blog.51cto.com/8409869/1962210

apache常用命令