当前位置:编程学习 > php >>

设置.asp的文件以PHP来运行

方法很简单,在apache http.conf 里面修改如何代码,重起apache就行了.

    # If the AddEncoding directives above are commented-out, then you
    # probably should define those extensions to indicate media types:
    #
    AddType application/x-compress .Z
    AddType application/x-gzip .gz .tgz
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .php3
   AddType application/x-httpd-php .asp

补充:Php教程,Php入门 
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,