« Previous Next »

Thread: Error 500 when trying to use PHP FastCGI in Seven (IIS 7.5)

Last post 06-24-2009 7:05 PM by lextm. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 06-20-2009, 9:38 AM

    • Shtong
    • Not Ranked
    • Joined on 03-31-2006, 11:50 AM
    • Posts 3

    Error 500 when trying to use PHP FastCGI in Seven (IIS 7.5)

     Hello,

     

    I'm trying to install the PHP FastCGI module on an IIS 7.5 server, but could not succeed for some reason. I followed all the recommandations found in the different topics of this forums, but all I can end up with is an HTTP Error 500 :

    C:\Program Files\PHP\php-cgi.exe - The FastCGI process exited unexpectedly

     The advanced logging features gives me the following error message when invoking the PHP executable :

    ModuleName FastCgiModule
    Notification 128
    HttpStatus 500
    HttpReason Internal Server Error
    HttpSubStatus 0
    ErrorCode 255
    ConfigExceptionInfo
    Notification EXECUTE_REQUEST_HANDLER
    ErrorCode The extended attributes are inconsistent. (0xff)

     I tried lots of things to get this stupid server to work, gave all permissions to everyone to the web root folder and PHP folder and used the system account the the app pool. The command line version of PHP (just did a php.exe -info) seems to work fine. So I'm out of ideas here.

     Maybe there's a problem in IIS 7.5 and FastCGI ? Or do you have any suggestion to make this work ?

     

    Thanks

  • 06-21-2009, 7:05 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,379

    Re: Error 500 when trying to use PHP FastCGI in Seven (IIS 7.5)

    IIS 7.5 is not yet released. Can you wait till the RTM day?
    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 06-22-2009, 2:18 PM In reply to

    • Shtong
    • Not Ranked
    • Joined on 03-31-2006, 11:50 AM
    • Posts 3

    Re: Error 500 when trying to use PHP FastCGI in Seven (IIS 7.5)

    Well I could yeah, I was just doing that "for fun".. I managed to use PHP with ISAPI but the worker process crashes every 2 or 3 hours (event if I don't use the website). Is there any known beta issue here ?

  • 06-22-2009, 6:54 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,379

    Re: Error 500 when trying to use PHP FastCGI in Seven (IIS 7.5)

    Can you review your configuration according to this article and see if phpinfo.php can work as expected?

    http://learn.iis.net/page.aspx/246/using-fastcgi-to-host-php-applications-on-iis-70/

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
  • 06-24-2009, 8:08 AM In reply to

    • Shtong
    • Not Ranked
    • Joined on 03-31-2006, 11:50 AM
    • Posts 3

    Re: Error 500 when trying to use PHP FastCGI in Seven (IIS 7.5)

     I reproducted all the steps I could (I could not execute update and administration tool but I guess that's not really a problem for 7.5 ?), and as before a simple phpinfo page produces the same error. The php configuration seems correct as the command line command php.exe -info works fine.

  • 06-24-2009, 7:05 PM In reply to

    • lextm
    • Top 10 Contributor
    • Joined on 10-22-2008, 12:18 AM
    • Shanghai, PRC
    • Posts 1,379

    Re: Error 500 when trying to use PHP FastCGI in Seven (IIS 7.5)

    That's weird. My IIS 7.5 box works as expected.

    There must be some configuration missing, so please have a complete review of your IIS server configuration.

    If you like, you can open a case via http://support.microsoft.com

    Lex Li
    Support Engineer at Microsoft
    ---------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.
Page 1 of 1 (6 items)
Microsoft Communities