PHP错误:Forbidden You don't have permission to access / on this server
程序员文章站
2024-01-10 20:25:28
...
用http://localhost/test.php进行的测试,没有发现问题,后来要在内网测试一下就要用IP地址进行那个访问了,如:http://10.10.50.195/test.php,就出现了这个问题。 修改一下php的配置文件httpd.conf。 在原有的位置文件中找到配置节:
修改成:
还有:
修改成:
然后保存,重启服务,再次访问时发现问题已解决了。 |
推荐阅读
-
apache You don't have permission to access / on this
-
手把手教你:You don’t have permission to access / on this se
-
PHP错误:Forbidden You don't have permission to access / on thi
-
apache 提示You don't have permission to access /test.php on
-
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的解决办法