Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I'm getting this error with IIS 6.0 (i assume), and PHP 5.2.3, and FastCGI

FastCGI Error

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

Error Number: 5 (0x80070005).
Error Description: Access is denied.
HTTP Error 500 - Server Error.
Internet Information Services (IIS)

Any ideas, nothing revealings in logs (other than 500 errors), this is pretty much all of I have to work with. The script has read and execute privileged for the internet guest account; and, I've added read/execute privileges to the whole D:\PHP.

I followed this tutorial http://learn.iis.net/page.aspx/247/using-fastcgi-to-host-php-applications-on-iis-60/ to set it up. The only major diversion is I installed PHP to D:\PHP

share|improve this question
did you tried running Process Monitor? –  Vivek Kumbhar Mar 18 '10 at 19:07

1 Answer 1

Ok, I actually figured out it with Process Monitor! This was the error:

Date & Time:    3/18/2010 2:34:51 PM
Event Class:    File System
Operation:  IRP_MJ_CREATE
Path:   D:\PHP\php-cgi.exe
TID:    4764
Duration:   0.0005087
Desired Access: Read Data/List Directory, Execute/Traverse, Read Attributes, Synchronize
Disposition:    Open
Options:    Synchronous IO Non-Alert, Non-Directory File
Attributes: n/a
ShareMode:  Read, Delete
AllocationSize: n/a

And, the process was run from this user NT AUTHORITY\NETWORK SERVICE. I added NETWORK SERVICE to the ACL for D:\PHP (my php dir), for read/execute, list folder contents, and read and had the permissions propagate to all the children (files), and it worked!

Cool beans, nice tool.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.