1.http://localhost/phpmyadmin/ 访问出现403或无权限
在安装目录中修改配置文件/wamp/alias/phpmyadmin.conf
<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>
修改为
<Directory "c:/wamp/apps/phpmyadmin3.5.1/">Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
Allow from all
</Directory>
2.http://localhost/ 访问出现403或无权限
在安装目录中修改配置文件/wamp/bin/apache/Apache2.2.21/conf/httpd.conf
搜索"<Directory"将内部的
(1).将Allow from 127.0.0.1改为Allow from all
(2).将Deny from all改为Allow from all