Apache启动后出现You don't have permission to access on this server的解决办法
程序员文章站
2022-06-21 20:46:12
安装好wampserver想在浏览器打开运行php的结果,发现: You don't have permission to access on this server 解决办法是: 在Apache的根目录打开httpd.conf文件下进行修改: 修改完之后: 然后再试试在浏览器输入127.0.0.1 ......
安装好wampserver想在浏览器打开运行php的结果,发现:
you don't have permission to access on this server
解决办法是:
在apache的根目录打开httpd.conf文件下进行修改:
修改完之后:
然后再试试在浏览器输入127.0.0.1或者127.0.0.1/index.php,可以看到下面的页面出现的话就证明ok了.
这里说明下:我用的window10,apache压缩文件安装的apache。搜http://127.0.0.1和http://localhost是一样的都可以访问,修改完之后重启服务器。
附带apache下载地址:https://www.apachelounge.com/download/根据自己电脑64位或者32位进行下载。
推荐阅读
-
对于搭建网站中出现“You don't have permission to access this resource.”错误提示的解决思路
-
CentOS7.0下安装Apache2.4.20版本,安装完成之后,报 You don't have permission to access / on this server.
-
Apache启动后出现You don't have permission to access on this server的解决办法
-
apache出现You don't have permission to access / on thi_PHP教程
-
Apache出现 You don't have permission to access /phpmya
-
MAC上vhosts后You don't have permission to access / on this server.
-
apache出现You don't have permission to access / on thi
-
apache出现You don't have permission to access / on thi
-
MAC上vhosts后You don't have permission to access / on this server.
-
访问 Apache 服务器提示(Forbidden You don't have permission to access / on this server 403)