couldn’t open /usr/local/apache-2.2.11/conf/httpd.conf

安裝完apache 從新啓動的時候出現couldnopen /usr/local/apache-2.2.11/conf/httpd.conf (但是當前啓動的路徑是/usr/local/apache2/bin/apachectl )apache

這個緣由多是以前的編譯緩存沒有清除。緩存

解決方法:ide

#cd /usr/local/src/httpd-2.2.11spa

#./configure --prefix=/usr/local/apache2/ --enable-so --enable-dav --enable-modules=most --with-apr=/usr/local/apr --with-apr-util=/usr/local/apr-util/it

#make clean                  #重點執行這一步.解決問題的關鍵。編譯

#makeclass

make installmodule

相關文章
相關標籤/搜索