« Previous Next »

Thread: FastCGI Handler unable to process the request

Last post 11-17-2009 5:42 PM by brashquido. 4 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (5 items)

Sort Posts:

  • 10-20-2009, 4:19 PM

    FastCGI Handler unable to process the request

    Hello!

    I used this walk-through to set up FastCGI & PHP on IIS.

    My Server:
     - WinXP2003
     - IIS 6

    Installed:
     - PHP 5.3 via php-5.3.0-nts-Win32-VC9-x86.msi
     - FastCGI Handler 1.5

    fcgiext.ini
       [Types]
       php=PHP

      [PHP]
       ExePath=c:\php\php-cgi.exe
       InstanceMaxRequests=10000
       EnvironmentVars=PHP_FCGI_MAX_REQUESTS:10000

    I receive this error when trying to load phpinfo.php

    FastCGI Error

    The FastCGI Handler was unable to process the request.

    Error Details:

    • The FastCGI process exceeded configured activity timeout
    • Error Number: 258 (0x80070102).
    • Error Description: The wait operation timed out.

    HTTP Error 500 - Server Error.
    Internet Information Services (IIS)

    I've read about others on this forum already having this issue, but most times they never responded with their solution or it was a specific issue witha their machines.

    If I completely get rid of the InstanceMaxRequests & EnvironmentVars it just takes longer to bring up the same error.

    Also, I've pointed the default website in IIS to "C:\WINDOWS\system32\inetsrv\fcgiext.dll" If I try anything other than that, I get a "page not found" error, so I'm assuming it's 'trying' to load correctly.

    Could someone help me figure this out?

    Thank you!

  • 10-20-2009, 6:32 PM In reply to

    • ksingla
    • Top 25 Contributor
    • Joined on 06-14-2006, 3:02 AM
    • Redmond, WA
    • Posts 863

    Re: FastCGI Handler unable to process the request

    Yes, people used to run into activity timeout while running install.php of various open source applications. We increased the default value of activityTimeout from 30 seconds to 70 seconds in FastCGI 1.5 RC. I understand you are running FastCGI 1.5 RC. Are you running into activity timeout while running a particular page or all PHP scripts give this error? Can you try a page with just phpinfo()?

    Thanks,
    Kanwal

    Follow me on twitter at http://twitter.com/kjsingla
  • 10-20-2009, 9:35 PM In reply to

    Re: FastCGI Handler unable to process the request

    The phpinfo.php page only contains phpinfo().

    I'll try agin tomorrow with another script (like "Hello World") when I get back into work tomorrow. I'm not sure how much good it'll do, though. I had PHP 5.2 installed once and the phpinfo() page would load under 3secs.

    I'll give it a go though! :)

  • 10-22-2009, 10:17 AM In reply to

    Re: FastCGI Handler unable to process the request

     So, I tried another test with just <?php echo "Hello World"; ?> and received the same error.

    There must just be some settings or something I don't have correct. Any thoughts?

  • 11-17-2009, 5:42 PM In reply to

    Re: FastCGI Handler unable to process the request

    I'd assume that you would have stepped back through the install process step by step, so one option would be to try mapping IIS to CGI rather than FastCGI. By mindful that most PHP install guides assume that the default NTFS permission have not been altered, so if these have been changed at all it may cause issues. How does IIS go serving non PHP content?

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
Page 1 of 1 (5 items)
Microsoft Communities