http://expert.csdn.net/Expert/topic/1958/1958433.xml?temp=.2079279
这个教程 我完全照做了..不过还是不行..老问题...打开页面就下载那个页面了..
可能我有些细节没注意到...谢谢指点一下了

解决方案 »

  1.   

    <3>IIS的配置:  
      打开IIS,在“默认Web站点”上右键打开属性,在主目录里做如下图中的设置,注意步骤:  
     
    http://www.blueidea.com/articleimg/2003/05/232/iisphp_s.gif  
     
    完成后IIS+PHP+MySQL的环境算是建立了。    关键在这里..现在的IIS不认识后缀.PHP
      

  2.   

    这一步我做了的啊...有人提过这个问题ScriptAlias /php4/ "C:/myweb/PHP4/" (注意是反斜杠,这是Linux的符号规范)
    AddType application/x-httpd-php .php3
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php .phtml
    Action application/x-httpd-php "/php4/php.exe"然后是象上面一样解决的..
    上面的东西怎么用啊
      

  3.   

    http://www.blueidea.com/computer/net/2003/186.asp
    具体参考这篇
      

  4.   

    上面是配置apache服务器的,不是用来配置iis的
      

  5.   

    可是它总是要下载PHP文件...
    那些安装步骤我重复了2天了..不管怎么样..就是要我下载...真的要疯了...
      

  6.   

    在可执行文件中浏览选择L:\php\sapi\php4isapi.dll
    http://www.blueidea.com/articleimg/2003/05/186/fwq6.gif这一步你做的不对
      

  7.   

    http://www.blueidea.com/computer/net/2003/186.asp
    这篇文章说得很明白了,尤其是中间那几个图
      

  8.   

    下载的问题解决了..不过..Security Alert! The PHP CGI cannot be accessed directly. 
    This PHP CGI binary was compiled with force-cgi-redirect enabled. This means that a page will only be served up if the REDIRECT_STATUS CGI variable is set, e.g. via an Apache Action directive.For more information as to why this behaviour exists, see the manual page for CGI security.For more information about changing this behaviour or re-enabling this webserver, consult the installation file that came with this distribution, or visit the manual page.
      

  9.   

    ;cgi.force_redirect = 0
    去掉