首页 > apache php配置

apache php配置

以前配置好好apache和php了,以前运行没有问题,最近打开出现 You don't have permission to access /day12/array.php on this server. 怎么解决?


看看你apache的版本,2.2和2.4中虚拟机的配置方案是不一样的。


问题可能出现在httpd.conf文件中,于是就又重新检查httpd.conf文件,终于让我发现了其中有这样一段:

<Files>
AllowOverride AuthConfig FileInfo Indexs Limit Options
Order allow ,deny
Deny from all-----------------**注意:就是这儿!!--->把这行去掉或注    释掉就行!!!**
</Files>

参考资料

【热门文章】
【热门文章】