Previous Next

Thread: Internet Explorer + PHP in FastCGI = fail, apparently

Last post 05-28-2008 10:12 AM by dpadular. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 05-27-2008, 5:00 PM

    • dpadular
    • Not Ranked
    • Joined on 05-27-2008, 4:52 PM
    • Posts 2

    Internet Explorer + PHP in FastCGI = fail, apparently

    Hi,

     I am posting this here because after searching and searching this seems to be an IE+IIS+FastCGI problem.

    I am running PHP as a FastCGI module on Windows Vista x64 Home Premium.  Viewing local pages and everything works absolutely great in Firefox, but Internet Explorer has problems.  On the first load, I get the generic "can not display this page" error (even with friendly errors turned OFF).  If I refresh that page, SOMETIMES I will get a partially-loaded page at a seemingly random byte length.  These results basically alternate between error/partially loaded upon each subsequent refresh.

    Images on localhost in IE? Perfect.  Stylesheets? Perfect.  Standalone HTML files?  Perfect.  Only when I try to access a file processing by PHP does the error occur. Even something as simple as a phpinfo() page, OR a basic HTML simply renamed as a PHP file.

     
    And again, it all looks peachy in Firefox.

     
    What in the world is going on?  Please, any help is greatly appreciated.  This is killing my test environment.
     

    Daniel 

  • 05-28-2008, 10:12 AM In reply to

    • dpadular
    • Not Ranked
    • Joined on 05-27-2008, 4:52 PM
    • Posts 2

    Re: Internet Explorer + PHP in FastCGI = fail, apparently

    Found the problem and have the solution, from the entire process just in case this might help anyone.

     1. Went into IIS and noticed that the PHP FastCGI module was installed for my Web Site, but not for the Webserver as a whole.  Deleted the child FastCGI module and reinstalled it as a module for the entire site.  This resulted in actual verbose error messages.

     2. The verbose messages were a 500 error - FastCGI stopped unexpectedly (error code 0x000000ff).   Further investigation of this error led me here - http://forums.iis.net/p/1149374/1869613.aspx

     3.  Noticed this user was a having a problem with a missing .dll referenced in the php.ini, which I was also having a problem with.  Didn't think much of it since command line PHP worked fine and it displayed properly in Firefox, but went into php.ini and commented out the line for that dll.

     
    4.  Works like a freaking charm.

     
    Go figure.  Hope this may help someone someday, I know I lost some hairs the last few days trying to figure this out. 

     Daniel

     

Page 1 of 1 (2 items)
Page view counter