最近在2008服務器上安裝apache,出現了No installed ConfigArgs for the service "Apache2.4"這個錯誤。apache
啓動不了,重裝了同樣不能解決問題。服務器
嘗試了,網上的一些方法spa
一、中止IIS或其它服務器軟件啓動。
二、把端口80改爲其它 (譬如90,800,,,什麼數字都好)。
三、防火牆(關掉試試)。cmd
四、修改配置文件httpd.conf軟件
五、修改註冊表配置
六、添加apache服務的命令httpd.exe -k install -n "Apache2.4"service
然並卵並無一個能解決問題的。防火牆
最後本身試了刪除apache服務方法
在cmd窗口裏使用了sc delete Apache2.4 刪除名爲Apache2.4的apache服務配置文件
最後添加服務httpd.exe -k install -n "Apache2.4"
問題解決。