html 里可以运行解析 php 文件,需要配置一下 apache 文件下的 httped.conf 文件里面,加入 AddType application/x-httpd-php .html 后,重启环境既可