• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1422
  • Last Modified:

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

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?

php-cgi.exe

Thanks
0
serveradm
Asked:
serveradm
  • 2
1 Solution
 
Dave BaldwinFixer of ProblemsCommented:
It wouldn't unless some PHP page was telling it to.
0
 
serveradmAuthor Commented:
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?
0
 
Dave BaldwinFixer of ProblemsCommented:
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.
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now