I need to detect if php is running as nobody. How do I do this?
Are there any other names for "nobody"? "apache"? Any others?
If you are running in safe mode however (which is often the case when exec is disabled), then it's unlikely that your PHP process is running under anything but the default