1.配置php,搜尋php.ini檔案
找到:short_open_tag = off,改為on
2. 搜尋http.conf檔案
找到:#include conf/extra/httpd-vhosts.conf,去掉前邊的#號
3.搜尋httpd-vhosts.conf檔案,最後加入類似內容(檔案路徑是自己安裝程式的路徑)
servername www.***.com 站點名稱
documentroot d:/www/ruihebao 設定路徑(專案檔案所在路徑)
設定路徑
options +indexes +includes +followsymlinks +multiviews
allowoverride all
require local
4.開啟c:\windows\system32\drivers\etc
修改hosts 最後一行加入自己的網域名稱
127.0.0.1 www.***.com
本文**於:wampserver配置詳解
更多前端內容請檢視:孫魯意部落格-更多前端小技巧
WampServer配置說明
注意 所有的修改操作都要重啟wampserver伺服器,部分需要重啟wampserver軟體 1 修改預設埠 1 開啟檔案 c wamp bin apache apache2.4.9 conf httpd.conf 2 修改預設埠,並重新重啟服務。listen 12.34.56.78 8088 li...
wampserver配置服務
windows下 安裝 wampserver 軟體 1.什麼是wampserver wampserver,一般稱之為 wamp 就是windows apache mysql php整合安裝環境,即在window下的apache php和mysql的伺服器軟體。2.安裝建議 2.1 使用我給大家提供w...
wampserver 許可權配置
當你按照網上以前介紹的wamp配製方法,安裝好wamp後。本地的locallhost和127.0.0.1一切都正常,他們都能對你本地的網頁檔案進行訪問。這裡說一說,手機借助wamp訪問本地檔案的方法。1.開啟apache檔案目錄下的httpd.conf檔案。2.查詢require local將 re...