I'm running my site on Windows Server 2012 R2 and IIS 8.5 and I encountered a problem.
- When I run
exec('whoami'), it returnsnt authority\iusr. - When I run
proc_open('whoami', $desc, $pipes), the result isiis apppool\mysite.
Why is this happening?