PHP file_exists aborts with error

I have a PHP file checking if a file exists on the server using the file_exists function. Here's what I know:

  • The path is relative to a PHP file and actually exists, although PHP tells me it doesn't.
  • file_exists works every time for the administrator account, but breaks intermittently (over 90% of the time) for a user in the Domain Users group.
  • The domain user group has been temporarily given full control of the directory where the files are located and the issue still exists.
  • Both IUSR and IIS AppPool \ AppPoolIdentifier have appropriate directory access.
  • PHP safe mode disabled

Running PHP version 5.2.6 and Windows Server 2008 r2 with IIS 7.

Why does the file_exists variable break with an error for a non-admin user group? Thanks for your help.

+3


source to share





All Articles