课程
/后端开发
/PHP
/PHP入门篇
localhost提示:You don't have permission to access / on this server
2017-09-09
源自:PHP入门篇 2-1
正在回答
使用记事本编辑D:\wamp\bin\apache\apache2.2.22\conf\httpd.conf文件,搜索“127.0.0.1”,找到后,用"#"注释“Deny from All”和"Allow from 127.0.0.1",在这两行下添加“Allow from All”,保存文件,然后记得重启wampserver。
意思是你没有访问此服务器的权限。你可以进入APACHE的httpd.conf文件中搜索Deny from all,改为Allow from all,继续往下浏览找到onlineoffine tag-donti位置中,把Deny from all的选项改为 Allow from all即可。
举报
PHP入门教程轻松学习,行业大牛帮您快速掌握PHP编程基础知识。
1 回答You don't have permission to access / on this server.
4 回答访问localhost显示You don't have permission to access / on this server
2 回答Forbidden You don't have permission to access / on this server.
3 回答Forbidden You don't have permission to access / on this server.