PHP環境搭建

來源:互聯網
上載者:User

標籤:

1、安裝wampserver,安裝成功後瀏覽器中輸入:localhost可以開啟下面的頁面

2、想配置本機IP開啟檔案的話,單擊wampserver-Apache-httped.conf,開啟檔案,修改Listen 8080,此處表示連接埠是8080,

3、找到下面代碼的位置,修改成本機ip

# Require all granted
# onlineoffline tag - don‘t remove
Order Deny,Allow
# Deny from all              //這句話前面一定加#號,表示注釋掉
Allow from 127.0.0.1
Allow from 172.16.11.242      //這裡的ip修改成本機ip即可
Allow from localhost

就可以使用ip地址開啟檔案了,手機也可以開啟

可參考網址:http://home.51.com/qingtianniji/diary/item/10054711.html

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.