Ok I need to run my Apache web server as root. For this I typed echo
whoami; in terminal. It gives me output: root. But when I check my apache server running as a root user or not by executing following php-script:
< ?php echo `whoami`; ?>
It gives me output:
nobody. So any suggestions to execute/login as a root user in apache??