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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-13 11:46:08
Original
895 people have browsed it

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

phpinfo();
?>

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

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

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

Related labels:
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 - localhost shows 404
From 1970-01-01 08:00:00
0
0
0
php - localhost cannot access a certain folder
From 1970-01-01 08:00:00
0
0
0
localhost and 127.0.0.1
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