<?php echo `whoami`; ?>
So this is returning 'root' and I don't know how to prevent it. I'm using WebHost Manager / CPanel which is supposed to create multiple users/vhosts and have Apache spawn it's process as that user/group. This isn't happening.
If I login to WHM and open the PHP and SuExec Configuration section, my settings are:
Default PHP Version (.php files) 5 PHP 5 Handler cgi PHP 4 Handler none Apache suEXEC on
What's wrong? How can I get Apache to run as the correct user rather than root?