WAMP环境下访问PHP提示下载PHP文件 原因是服务器没有加载到PHP文件 到http.conf下加载AddType application/x-httpd-php .php AddType application/x-httpd-php .html 来自为知笔记(Wiz)