Although it is not recommended, an Apache httpd installation can be installed and run as a non-root user.
It is possible to start and stop the parent Apache httpd server (as a non-root user whether or not the installation is owned by root) when these conditions are met:
- All ports used by Apache httpd should be higher than 1024.
Note: This means that you cannot listen on the default port 80.
- All directories that the servers write temporary files to should have write permission for the non-root user, especially if the installation is owned by root.
- By default, all startup scripts have execute permissions for the non-root user, unless changed otherwise.
©VMware 2013