On Fri, 10 Oct 2003 16:44:37 -0500, Grant Rutherford <[EMAIL PROTECTED]> wrote:

Hi,

Just a quick question... What user does php run as on linux? Is it the Apache user? Is there some way to tell? I need to be able to set a directory so that only PHP can access it.

You can figure who apache/php is running as by using shell_exec() on the system
command 'whoami':


echo shell_exec('whoami');

HTH,


Curt


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to