« Previous Next »

Thread: IIS 6 PHP in FastCGI Error (0x80004005)

Last post 11-17-2009 9:40 PM by brashquido. 8 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (9 items)

Sort Posts:

  • 06-19-2009, 8:53 AM

    • Trouts
    • Not Ranked
    • Joined on 06-19-2009, 12:41 PM
    • Posts 2

    IIS 6 PHP in FastCGI Error (0x80004005)

     Hi all,

     

    i'm getting the common error

    FastCGI Error
    The FastCGI Handler was unable to process the request.

    Error Details:

        * The FastCGI process exited unexpectedly
        * Error Number: -2147467259 (0x80004005).
        * Error Description: Unspecified error

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

     

    I've applied the common solution in the .ini

    QueueLength=999
    MaxInstances=20
    InstanceMaxRequests=10000
    environmentVariables=PHP_FCGI_MAX_REQUESTS:10000

     

    But it still crashes on some files.
    It crashes on any script with a little more processing like one that receives POST data, verifies and saves it to the database (for example).

     

    I'm using Win 2003 Server x64 with IIS 6.0 and the latest FastCGI x64 .

     

    Best Regards,

    Carlos

  • 06-19-2009, 9:45 AM In reply to

    Re: IIS 6 PHP in FastCGI Error (0x80004005)

    That's a security error, access denied.  Chack permissions on the files/folders being accessed.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 06-19-2009, 10:48 AM In reply to

    • Trouts
    • Not Ranked
    • Joined on 06-19-2009, 12:41 PM
    • Posts 2

    Re: IIS 6 PHP in FastCGI Error (0x80004005)

    ok, i've even got to set full control recursive to everyone on c:\PHP . Files on virtual directory are full control everyone too. Still having the error. Curiously when i put die("test"); in the begginning of the error file it works, but if i add a comment line /* comment */ somewhere below it it errors again... it's a bit random. Event viewer says : Faulting application php-cgi.exe, version 5.2.5.5, faulting module php5ts.dll, version 5.2.5.5 ... Any ideas? :/
  • 11-10-2009, 8:03 AM In reply to

    Re: IIS 6 PHP in FastCGI Error (0x80004005)

    Did you succeed running PHP on iis 6. Please give me a solution.

    you can contact by email at mokarrabin@hotmail.com or add me to your msn.

  • 11-14-2009, 2:58 PM In reply to

    • alterin
    • Not Ranked
    • Joined on 04-09-2008, 11:17 AM
    • Posts 2

    Re: IIS 6 PHP in FastCGI Error (0x80004005)

     I get this error when I set register_globals = On in php.ini.

  • 11-14-2009, 3:19 PM In reply to

    Re: IIS 6 PHP in FastCGI Error (0x80004005)

    Hi,

    If you are running PHP on XP onwards OS, the recommendation is to use IIS FastCGI with PHP Non Thread Safe version. Can all of you do this. Please follow my blog at http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx. The new PHP5.2.11 MSI sets some timeout values like idle/activity/maximum to a higher value. Also if you will use the 1.5 RC bits of IIS FastCGI it will be better. I would say uninstall if you are using any 1.0 fastCGI as well as any PHP instaled and follow my blog.

    alterin:
     I get this error when I set register_globals = On in php.ini.

    I am not sure what register_globals has to do with it. I have been running very script heavy PHP applications and it works well for me.

    Thanks,

    Don.

  • 11-17-2009, 6:03 PM In reply to

    Re: IIS 6 PHP in FastCGI Error (0x80004005)

    alterin:

     I get this error when I set register_globals = On in php.ini.

     

    What PHP apps are you using that still requires register_globals to be turned on? This setting has not been turned on by default since PHP 4.2, and can be quite a security risk when couple with sloppy coding;

    http://phpsec.org/projects/guide/1.html#1.3

    ----------------
    Dominic Ryan
    Microsoft IIS MVP
    www.iis-aid.com
    My IIS articles
    My PHP articles
    My How-to guides
  • 11-17-2009, 7:07 PM In reply to

    • alterin
    • Not Ranked
    • Joined on 04-09-2008, 11:17 AM
    • Posts 2

    Re: IIS 6 PHP in FastCGI Error (0x80004005)

     

    brashquido:

    What PHP apps are you using that still requires register_globals to be turned on? This setting has not been turned on by default since PHP 4.2, and can be quite a security risk when couple with sloppy coding;

    http://phpsec.org/projects/guide/1.html#1.3

    Some very old code. ;) I wanted to see if it works with PHP 5 before I start fixing it. Well, I had to make some fixes first. It works. :)


  • 11-17-2009, 9:40 PM In reply to

    Re: IIS 6 PHP in FastCGI Error (0x80004005)

    Nice one :)

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