主目录里 c:\WINNT\php.exe %s %s

解决方案 »

  1.   

    "'主目录里的配置我加了呀c:\WINNT\php.exe s% s%"你查查你的php.exe是在这个里面吗?你把php装这里了?
      

  2.   

    To use the ISAPI module, do the following:    If you don't want to perform HTTP Authentication using PHP,
        you can (and should) skip this step. Under ISAPI Filters,
        add a new ISAPI filter. Use PHP as the filter name, and
        supply a path to the php4isapi.dll. ------------------------------------------------------------------ 
       Under 'Home Directory', click on the 'Configuration' button.
        Add a new entry to the Application Mappings. Use the path
        to the php4isapi.dll as the Executable, supply .php as the
        extension, leave Method exclusions blank, and check the
        Script engine checkbox.    Stop IIS completely (net stop iisadmin)
        Start IIS again  (net start w3svc)
    -------------------------------------------------------------------
      

  3.   

    IIS 下还是建议用 ISAPI 模式来安装PHP.  php自带的install.txt里面已经说的很明白了.
    就是上面的内容.
    在管理工具里面打开 Internet Information Server. 然后打开默认站点.
    照着上面的做,绝对没有问题.
      

  4.   

    配置IIS
          1. 默认web站点→属性 ISAPI筛选器
               添加: 名称:      php
                      可执行文件:c:\winnt\system32\php4isapi.dll
          2. 主目录
             执行许可→配置
               添加:可执行文件: :\winnt\php.exe %s %s
                     扩展名:     php