修改 httpd.conf 增加
<Directory "F:\xampp\htdocs\test\qingdao\data\data">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
?php_admin_flag engine off
# ???????<filesmatch "(.*)php">
## ????????????Order deny,allow
# ???????????Deny from all
# ????Allow from 127.0.0.1 ??
# ???????</filesmatch>
#<filesmatch "(.*)txt">
#Allow from all
#</filesmatch>
</Directory>
apache xampp 目录防止解析php
原文地址:http://www.cnblogs.com/cndavy/p/7452665.html