I have created a new PHP website that uses the ApplicationPoolIdentity system. My website and application pool is namedwww.example.com and I have added a R/W permission for `IIS AppPool\www.example.com` to the `c:\inetpub\www\www.example.com` folder and all its child items.
The w3wp.exe is indeed running under the www.example.com user, yet, the PHP app is complaining that it can't access certain files (the app in question is DokuWiki and it needs to access the `data` subdirectory. When I give R/W permission to Everyone, it suddently starts working. When I remove the Everyone permission again, the error is back.
How am I supposed to set the filesystem permissions for ApplicationPoolIdentity to work?