1.打开web服务器(apache)的配置文件
2.找到 AddType application/x-gzip .gz .tgz
3.在下一行加入 AddType application/x-httpd-PHP .php
4.保存,重启web服务。
上一篇:9_php扩展模块的安装
下一篇:8_Php.ini 配置文件详解