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

配置WAMP后,浏览器输入默许的php文件名都直接下载该文档

WBOY
WBOYOriginal
2016-06-13 11:34:25787browse

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

phpinfo();
?>

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

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

PHP WMAP 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