windows/' target='_blank'>win8新裝的wamp,打開浏覽器輸入localhost就發現403錯誤,經測試輸入127.0.0.1可以正常訪問。
解決方法如下。
打開httpd.conf
搜索Deny from all定位到
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
將Deny from all改為Allow from all
繼續搜索Deny from all定位到
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
將Deny from all改為Allow from all
如果不能用localhost打開phpmyadmin,請看下面
找到並打開wamp/alias/phpmyadmin.conf
找到
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
將Allow from 127.0.0.1改為Allow from ::1