apache伺服器安裝【windows】

來源:互聯網
上載者:User

標籤:index   .exe   www.   develop   str   XA   eve   ref   技術   

在windows上安裝apache2.4.33

apache下載 http://www.apachelounge.com/download/

1、解壓並放到安裝目錄

 

 

2、修改apache24->conf->httpd.conf檔案

  a)ServerRoot "c:/Apache24"
    改為
  ServerRoot "E:\Develop\wamp\www"
  b)#ServerName www.example.com:80
    改為
  ServerName www.example.com:80
  c)DocumentRoot "c:/Apache24/htdocs"
  <Directory "c:/Apache24/htdocs">
    改為
  DocumentRoot "E:\Develop\wamp\www"
  <Directory "E:\Develop\wamp\www">
  d)DirectoryIndex index.html
    改為
  DirectoryIndex index.php index.html index.htm

3、安裝apache

  在cmd中,進入apache安裝bin目錄,執行 httpd.exe -k install -n "apache24"

 

註:如出現 應用程式無法正常啟動0xc000007b的原因 可下載 DirectX修複工具,:http://www.pc6.com/softview/SoftView_57945.html

  安裝成功後在服務裡查看到

 

4.在服務中右擊,開啟服務,並在瀏覽器中查看是否成功安裝

 

apache伺服器安裝【windows】

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.