摘要: 在apache http.conf 中配置php module之后,会添加一句话 AddType application/x-httpd-php .php表示将文件扩展名为.php的按php来解析,如果想让html文件也按php来解析,需要再添加一句 AddType application/x-httpd-php .html也就是说用这句话可以任何文件都能按php来解析。还有一句话 AddType application/x-httpd-php-source .phps 他的意思是将扩展名为phps的文件解析成源码,如果AddType application/x-httpd-php-sourc 阅读全文
posted @ 2012-04-18 23:55 alisx 阅读(5075) 评论(0) 推荐(0) 编辑