當你安裝完成wamp後,打開localhost或ip時發現已經能夠運行了php
但想使用phpmyadmin時,發現提示以下內容:app
You don't have permission to access /phpmyadmin/ on this server.ide
解決辦法:this
打開以下文件:code
c:\wamp\alias\phpmyadmin.conf //這個就是你的wamp的安裝目錄下的內容server
修改爲這樣:blog
<Directory "c:/wamp/apps/phpmyadmin3.4.5/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Allow from all </Directory>
你本來的配置應該是這樣的:ip
<Directory "c:/wamp/apps/phpmyadmin3.4.5/"> Options Indexes FollowSymLinks MultiViews AllowOverride all Order Deny,Allow Deny from all Allow from 127.0.0.1 </Directory>
修改保存後,重啓wamp便可!io