Apache和PHP環境配置

來源:互聯網
上載者:User

標籤:blog   http   ar   sp   檔案   on   art   問題   log   

最近閑來想學習一下PHP。

工欲善其事,必先利其器。我的PHP環境配置了三遍,才安裝成功。

下面就分享一下我的安裝經驗。

1.Apache2.4,PHP5.6,MySql5.6這些都是從官網下載的。

2.參考百度經驗中最新PHP安裝配置http://jingyan.baidu.com/article/154b46315242b328ca8f4101.html

3.最後出問題了。在安裝Apache的過程中出現:

 

仔細查看提示: make_sock: could not bind to address 0.0.0.0:80

恍然大悟,電腦上安裝了IIS7,80連接埠已佔用。

開啟Apache 的設定檔  Apache安裝目錄下的conf/httpd.conf

找到Listen 80 將80改為 81 

4.最後安裝成功。

 

Apache和PHP環境配置

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.