php-cgi.exe - ProcMon showing Access Denied on folders it should't need to be accessing

Posted on 2012-09-21
Last Modified: 2012-09-22
Is this something I should be concerned about or normal behavior?  Below is a screen shot from Process Monitor on a Windows 2003 server running IIS and PHP.

PHP is running from a folder under c:\php\
Web Sites are on a separate drive.

Why would php-cgi.exe even be trying to access these non-relevant folders?


Question by:serveradm
    LVL 82

    Expert Comment

    by:Dave Baldwin
    It wouldn't unless some PHP page was telling it to.

    Author Comment

    Thanks, I was able to track it down to the specific application pool identity, but there are several Wordpress sites that run under that account.

    Any method you can recommend to track down which specific PHP page the code is coming from?
    LVL 82

    Accepted Solution

    Set "log_errors = On" in your 'php.ini' and you can check your error logs on the server.  You can also use "error_log = filename" to send them to a specific file.  And you could correlate the web server access logs with the error logs for further detail.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
    The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now