Home >Backend Development >PHP Tutorial >配置WAMP后,浏览器输入默认的php文件名都直接下载该文档解决思路

配置WAMP后,浏览器输入默认的php文件名都直接下载该文档解决思路

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-13 11:46:08893browse

配置WAMP后,浏览器输入默认的php文件名都直接下载该文档
apache已经运行了,主要问题是:
我新建一个index.php的文件

phpinfo();
?>

然后在浏览器输入http://localhost或者http://localhost/index.php

输入什么都直接下载文档,
我用的浏览器是google浏览器,我试过IE都是这样

------解决方案--------------------
你直接把你的apache配置文件的所有内容发上来多好,省的大家胡乱猜。

Statement:
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