centos查看apache用的是哪一個httpd.conf

httpd -V
獲得相似以下結果:

-D HTTPD_ROOT="/etc/httpd"spa

 

-D SERVER_CONFIG_FILE="conf/httpd.conf"class


而後,兩個拼起來就是你要找的路徑
相關文章
相關標籤/搜索