View Complete Thread
  • COM objects with IIS6 + FASTCGI PHP

    Dec 05, 2007 12:39 PM|alex-party|LINK

    Hello,

    I'm running IIS6 + FastCGI PHP 5.2.3 non-threaded-version and having (apparently permissions issue) when calling COM objects from php.

    -------------------------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)

    -------------------------------------------------------

    php-cgi.exe runs as NETWORK SERVICES. I think COM objects, which in turn access network drives, require Administrator permissions.

    When logged in as ADMINISTRATOR and run >c:\php\php.exe -f test.php - IT WORKS !!!

    So, is there an option to run fastCGI or php-cgi.exe under different user account ????

    Any clue or help would be really appreciated.

    Thank You in advance! 

    Alex
     

     

     

     

    FastCGI IIS7 500 iis6