Apache runs now when I start it logged in at root, not user. I have been reading at apache web site and still not sure about when and when not to
be the user or root doing apache, php and (mysql later on). The on-off
power thing wasn't the solution to 127.0.0.1.
Questions:
When I am doing apache and php , should I be in root (logged in) , completely as root?
When doing php should I be user?
When should I not be in root then be the user, and when I should be the user and not root?
Thanks,
MichaelB
eMac apache questions about root and user
Moderator: General Moderators
-
kettle_drum
- DevNet Resident
- Posts: 1150
- Joined: Sun Jul 20, 2003 9:25 pm
- Location: West Yorkshire, England
Well you will need to have admin rights to be able to turn apache on and off - otherwise any user could stop the web sever and it would cause problems. You just dont want apache to be running as root - which it shouldnt be - theres usually a http user that apache runs as.
To turn it on and off as a normal user you will need to sudo up before using the apachectl command.
To turn it on and off as a normal user you will need to sudo up before using the apachectl command.
Is this normal? Apache starts when emac turn on as user
This is normal right?
That's nice it starts Apache when I log in at User and when I turn on my eMac but I have to turn it off by root. This is normal right?
Thanks,
MichaelB
That's nice it starts Apache when I log in at User and when I turn on my eMac but I have to turn it off by root. This is normal right?
Thanks,
MichaelB