0、开启php环境安装目录 (我的为D:\wamp\Apache2\conf下) 的httpd.conf 文件中的(大概408-409行处):
1、 AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
2、(F:/shz 为运行文件存放的地方)
DocumentRoot "F:/shz" (大概150处)
<Directory "F:/shz"> (大概178处)
3、在Options Indexes FollowSymLinks 后面添加 Includes
如:Options Indexes FollowSymLinks Includes (大概197处):
(需重启apache);
08-03
1835
![](https://csdnimg.cn/release/blogv2/dist/pc/img/readCountWhite.png)