隨筆-28  評論-15  文章-81  trackbacks-0

          apache安裝完之后,右下角的圖標卻是紅色的。放鼠標上去的提示是:No services installed ,很顯然,是由于服務(wù)沒有安裝。

          解決辦法是:

          我的安裝路徑是:C:\Program Files\Apache Software Foundation\Apache2.2

          1、打開cmd定位到:C:\Program Files\Apache Software Foundation\Apache2.2\bin

          2、輸入httpd.exe -k install -n apache2

          出現(xiàn)以下提示:

          C:\Program Files\Apache Software Foundation\Apache2.2\bin>httpd.exe -k install -
          n apache2
          Installing the apache2 service
          The apache2 service is successfully installed.
          Testing httpd.conf....
          Errors reported here must be corrected before the service can be started.
          httpd.exe: Could not reliably determine the server's fully qualified domain name
          , using 192.168.1.212 for ServerName

          解決這個問題方法:把/conf/httpd.conf文件的#ServerName 前的#去掉,再執(zhí)行上面的操作。     

          再輸入net start apache2

          之后我們看見了成功的信息

          httpd: Could not reliably determine the server's fully qualified domain name
          在windows下安裝好apache服務(wù)器后,重新啟動后,回出現(xiàn)上面的錯誤,只要把/conf/httpd.conf文件的#ServerName 前的#去掉就好了。

          posted on 2010-08-08 16:17 譚明 閱讀(1870) 評論(0)  編輯  收藏 所屬分類: PHP
          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          常用鏈接

          留言簿(5)

          隨筆分類

          隨筆檔案

          文章分類

          文章檔案

          收藏夾

          http://webfx.eae.net/

          搜索

          •  

          最新評論

          閱讀排行榜

          評論排行榜

          主站蜘蛛池模板: 黄浦区| 桑日县| 葵青区| 红原县| 鹤壁市| 轮台县| 饶河县| 精河县| 辰溪县| 湘西| 南安市| 甘洛县| 建昌县| 夏邑县| 大丰市| 永顺县| 田林县| 岳普湖县| 铁岭市| 上栗县| 和政县| 法库县| 孝义市| 昌黎县| 铁岭市| 金塔县| 乌恰县| 商南县| 印江| 竹山县| 运城市| 惠水县| 东兴市| 德清县| 房产| 东莞市| 武川县| 清流县| 蓝山县| 寿阳县| 长兴县|