php.ini
; cgi.force_redirect is necessary to provide security running PHP as a CGI under
; most web servers.  Left undefined, PHP turns this on by default.  You can
; turn it off here AT YOUR OWN RISK
; **You CAN safely turn this off for IIS, in fact, you MUST.**
 cgi.force_redirect = 0

解决方案 »

  1.   

    我改了,出现这个
    PHP has encountered an Access Violation at 10001364
      

  2.   

    很正常!WIN下面的PHP跟IIS结合还不是很稳定,有的机子上可以,在另外机子就不一定了。用CGI方式吧,或者改用APACHE。
      

  3.   

    IIS +php4.2.3
    的时候用PHP4isapi很正常啊,为什么PHP4.3.0就不行呢,
    顺便问一下

    php.exe
    php4isapi.dll
    哪个性能好
      

  4.   

    用php.exe调试程序比较稳定用php4isapi.dll
    经常会出现
    PHP has encountered an Access Violation at 10001364还有其他一些乱七八遭的错误。