Super User is a question and answer site for computer enthusiasts and power users. 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 am trying to use this function in PHP move_uploaded_File to move a file to a different directory than the one it was uploaded to.

However, even though the user has enough rights (iusr / iis_iusrs) to upload the file, when the function move_uploaded_file() is run, nothing happens!

I'm running IIS 8 with php .

How can I use process monitor to figure out what's happening with permissions?

share|improve this question

well, you start capturing, perform the action that fails, stop your capture, and then filter the results to see what actions occured. you might want to Try FileMon instead. you can filter it by process to only see the IIS worker processes you want, and then by file to see whats going on.

That said, these tools are no replacement for debugging and logging. the php runtime is your best source for information on whats going down.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .