These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for apache run as root? on the new forum.
Hi,
I just installed virtualmin through the automatic script, and I created a virtual server. Then I ran "top" in the terminal, I found apache was running as the user "root" instead of the virtual server owner. What kind of configuration should I do after virtualmin installation?
Thanks.
Howdy,
The parent Apache process is indeed run as root -- that's normal Apache behavior. The children Apache processes should be run as "www-data" or "httpd" though, depending on your distro.
However, the various "php" processes that are run would run as the Virtual Server owner.
-Eric
Gotcha. I should have done some research. Thanks eric.