HTTPD.CONF
    #
    # AddType allows you to tweak mime.types without actually editing it, or to
    # make certain files to be certain types.
    #
    AddType application/x-tar .tgz
    AddType image/x-icon .ico
    AddType application/x-httpd-php .php
    AddType image/x-icon .ico
    AddType text/html .php .php3

解决方案 »

  1.   

    二楼的没错的
    你修改完后要记得重新启动apache啊
      

  2.   

    楼上是把.php3作为html来解析,这样可以用吗?
      

  3.   


    httpd.confScriptAlias /php433/ "C:/php433/" 
    AddType application/x-httpd-php3 .php3 
    AddType application/x-httpd-php3 .php 
    AddType application/x-httpd-php3 .php4 
    AddType application/x-httpd-php3 .phtml 
    Action application/x-httpd-php3 "/php433/php.exe"