4 reputation
112
bio website
location Pakistan
age 25
visits member for 2 years, 8 months
seen Apr 2 '12 at 13:32

Jun
29
awarded  Famous Question
Jul
3
awarded  Notable Question
Mar
14
awarded  Popular Question
Mar
27
comment Change the user Apache runs as
Thank you so very much
Mar
27
comment Change the user Apache runs as
In ubuntu we have nobody as default user and group. So following your answer I have changed nobody to root in both user and group. The secong step: /System/Library/LaunchDaemons/org.apache.httpd.plist , I couldn't understand. I have searched plist in my /opt directory but I couldn't found. Instead of plist I found PropList.txt.
Mar
27
comment Change the user Apache runs as
Sir it was glad for me to see your answer. I am using ubuntu server 11.10. I understand the risk to run apache as root, but I am a student so wants to gain more and more knowledge. I have installed xampp server in /opt and my httpd file is in /opt/lampp/etc. By following your answer I editted the httpd file.
Mar
27
awarded  Student
Mar
27
comment Change the user Apache runs as
Hey mark I know that as the nobody user logged in I can't do anything with system. But I need to access some system folders/files, for that I need permissions/privileges. So how can I obtain these? Whether I have to run apache as root user or create a new user and assign all privileges that a root user have?
Mar
26
comment Change the user Apache runs as
@Mark if not StackOverflow then?? I am logged in in system as root. I started xampp server as root e.g: sudo /opt/lampp/lampp start. But When I execute < ?php echo whoami; ?> it shows me nobody instead root.........
Mar
26
asked Change the user Apache runs as