Home  >  Article  >  Backend Development  >  wamp中如何打开PHP文件总是弹出 “文件上载”对话框

wamp中如何打开PHP文件总是弹出 “文件上载”对话框

WBOY
WBOYOriginal
2016-06-13 10:48:11974browse

wamp中怎么打开PHP文件总是弹出 “文件下载”对话框
在wamp环境中 不知道把那个模块开启了,在Eslipse中打开PHP就弹出“文件下载”对话框?

------解决方案--------------------
未能解析PHP,安装phpeclipse了没
------解决方案--------------------
如果在浏览器中运行没问题的话就不要去管它
------解决方案--------------------
是通过 http://localhost/tt.php 这样访问的吗? 

phpinfo() ;能否显示php信息
------解决方案--------------------
你在apache2.conf或者httpd.conf中找找有没有下面的PHP解析设置,没的话,就添加

HTML code
SetHandler application/x-httpd-php
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