萬盛學電腦網

 萬盛學電腦網 >> 網絡編程 >> php編程 >> 設置.asp的文件以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

copyright © 萬盛學電腦網 all rights reserved