建议你使用apache,iis打过补丁以后,安装有时就是会出现这种问题,我也遇到过,从装了系统才搞定的

解决方案 »

  1.   

    请参看php的安装包下的install.txt文件,上面讲得好清楚。简单一点的话,就是:
    1.将php.ini-dist文件改名为php.ini,然后把这个文件放到你的'winnt/'目录下。将php4ts.dll文件放到'winnt/system32'目录下。
    2.然后修改php.ini,具体的配置见install.txt,如果遇到实际的问题,再过来问吧。
      

  2.   

    你看我是这样改php.ini这个文件的,请指点
    修改extension_dir=./成为extension_dir=c:\winnt\system32
    extension=php_zip.dll,extension=php_ldap.dll前面的“;”去掉。
      

  3.   

    我在公司的电脑上,用了,没有问题。但是家里有问题。难道php4ts.dll,我没考过去
      

  4.   

    我昨天看了,已经考过去了。但是就是那个错
    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.
      

  5.   

    你查找force-cgi-redirect,把前面的;去掉,然后把等号右面改为1
      

  6.   

    在php.ini文件里面没找到force-cgi-redirect
      

  7.   

    是不是要运行php的用户有足够的权限运行php.exe.是不是IIS服务器使用一个在安装时创建的匿名账号,这个账号需要有php.exe的权限,另外,任何要经过论证的拥护也有权先运行php.exe.不过不知道该怎么搞?