I can't find who the PHP user is. Need complete tutorial
stidj
5:51 pm on Apr 30, 2004 (gmt 0)
I am using the tutorial located at [hotwired.lycos.com...] and I don't know how to begin setting up PGP on my server as I am unable to find out who the PHP user is.
Could anyone give me any clues?
Thanks :)
coopster
3:12 pm on May 3, 2004 (gmt 0)
If you you have installed PHP as an Apache module [php.net], PHP inherits Apache's user permissions (typically those of the "nobody" user). You may want to read a bit more about Apache Security Tips for Server Configuration [httpd.apache.org].
jamesa
4:05 pm on May 3, 2004 (gmt 0)
run this script (from the browser, not the CLI):
<?
echo `whoami`;
?>
(NOTE: those are backticks, not single quotes around whoami.)