I have to support someone in setting up a PHP website on an IIS 7 server to which I don't have any remote access to. He's having trouble with permissions and doesn't know which user PHP is running under to give it correct write permissions on the document root. I've asked him to make a file with <?php php_info(); ?>
in it, and he has, I have access to it but I don't know where to look for the php user.
What would be the correct place to look for the user that PHP is running under?
There is one built in function in
PHP
get_current_user() which allows you to see owner of php script.Reference