Home > Backend Development > PHP Tutorial > apache php配置

apache php配置

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:38:44
Original
1139 people have browsed it

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

回复内容:

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

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

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

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

参考资料

Related labels:
php
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template