wamp出现You don’t have permission to access/on this server
程序员文章站
2022-04-25 18:47:24
...
找到 httpd.conf,用记事本打开 httpd.conf ,然后将 Directory/ OptionsFollowSymLinks AllowOverrideNone Orderdeny,allow Denyfromall /Directory 这里改成: Directory/ OptionsFollowSymLinks AllowOverrideNone Orderdeny,allow Allowfromall /Directo
- 找到httpd.conf,用记事本打开httpd.conf,然后将
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
这里改成:
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Allow 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或127.0.0.1时发现可以访问了,但访问phpmyadmin时候,出现“You don't have permission to access /phpmyadmin/ on this server.”的提示。
- 解决方法,打开如下文件:
C:\wamp\alias\phpmyadmin.conf //这个就是你的wamp的安装目录下的内容,用记事本打开
修改成这样:
"c:/wamp/apps/phpmyadmin3.5.1/">
推荐阅读
-
You don’t have permission to access /index.php on.
-
对于搭建网站中出现“You don't have permission to access this resource.”错误提示的解决思路
-
You don't have permission to access / on this server,Forbidden
-
CentOS7.0下安装Apache2.4.20版本,安装完成之后,报 You don't have permission to access / on this server.
-
wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”...
-
Apache启动后出现You don't have permission to access on this server的解决办法
-
PHP错误:Forbidden You don't have permission to access / on thi_PHP教程
-
apache出现You don't have permission to access / on thi_PHP教程
-
Apache出现 You don't have permission to access /phpmya
-
wamp不能使用phpmyadmin,提示“You don't have permission