Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to use filexists in php to check if a file exists on a network server.

It keeps coming back with false and I think this is probably to do with permissions, as it seems to work from localhost and not the webserver I'm running it from.

I've tried to log the World Wide Web Publishing on as a network admin, but when restart the service I get the error message

Error 1079: The account specified for this service is different from the account specified for other services running in the same process.

Basically I think I need permissions for the webserver(IIS) to be allowed to access folders on other network servers.

Any other ideas?


share|improve this question

Got the answer just permissions setting as thought:

Go into the Properties for the IIS web-site, Directory Security tab. Edit anonymous access and authentication Edit the account used for anonymous access Select a network login account with the required privileges


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.