
本地搭建wamp访问phpmyadmin时候,出现“You don't have permission to access /phpmyadmin/ on this server.”的提示。

无法进入phpmyadmin该怎么解决?
解决方法:
1、我们在软件的安装目录下找到wamp\alias\phpmyadmin.conf文件,如图:

2、记事本打开它,并找到代码
<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>
并将其中的Deny from all改成Allow from all,并保存如图

3、保存好后,重启下所有服务,再次打开http://localhost/phpmyadmin/当你能看到如图页面的话即代表完成。

以上内容仅供参考!
网友评论