1、找到:
AddType application/x-gzip .gz .tgz
在其下面增加:
AddType application/x-httpd-php .php//增加支撑对php剧本剖析
2、找到:
<IfModule dir_module> DirectoryIndex index.html </IfModule>
把中心那一行改成:
DirectoryIndex index.html index.htm index.php //增加对php的索引
引荐教程:PHP视频教程
以上就是apache不能剖析php文件的细致内容,更多请关注ki4网别的相干文章!