PDA

View Full Version : Setting group to Apache for a directory?


Noellium
02-26-2008, 06:49 PM
The function I'm using to check whether or not the group exists is:

print_r(posix_getgrnam('apache'));

But I didn't get anything. Then I replaced "apache" with "Apache" and still got nothing.

So what is the name of this group? Am I even doing it right?

Ray
03-02-2008, 09:02 PM
Hello,

What type of account do you have? It will depend on what OS and control panel you have as well.

Noellium
03-05-2008, 11:49 PM
Account? If you mean plan, I have Basic. And the control panel is Hsphere. And the OS I use is Mac OS X (but if you meant the OS the web server is on, I would think it's on Linux).

Ray
03-07-2008, 02:12 PM
On shared hosting servers (including Basic plan and any other share hosting plan), the Apache user and group are "httpd".

Noellium
03-07-2008, 11:54 PM
All right. Thank you very much!