Home > Backend Development > PHP Tutorial > php的有关问题,求指点

php的有关问题,求指点

WBOY
Release: 2016-06-13 13:42:22
Original
852 people have browsed it

php的问题,求指点啊
输入配置好后,输入localhost可以正常显示,输入localhost/x.jpg也可以正常显示,但是输入localhost/x.php后无法在网页中显示,显示的反而是要下载x.php文件,这是为什么啊,泪奔了

------解决方案--------------------
对php的文件解析并没有生效
也就是前面的配置未正常
------解决方案--------------------

探讨

怎么改啊,照着书上的配置弄的,在火狐浏览器中不显示下载了,但是把整个代码显示出来了。DirectoryIndex
index.php index.html index.html.var这条语句有,其他的配置也弄了啊
Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template