changing the group under apache

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
In the phpmyadmin instructions it says:
* Your file should be chmod 660.
  * All your phpMyAdmin files should be chown -R phpmy.apache, where
phpmy is a
    user whose password is only known to you, and apache is the group
    which Apache runs.
  * You should use PHP safe mode, to protect from other users that try
    include your in their scripts.

I don't understand what it means about "apache is the group under
which apache runs". My httpd.conf permissions are:
drwxr-xr-x  13 root  wheel    442 Sep 19  2008 extra
-rw-r--r--   1 root  wheel  17714 Jun 23 10:19 httpd.conf
-rw-r--r--   1 root  wheel  17750 Jun 22 13:49 httpd.conf.bu
-rw-r--r--   1 root  wheel  12958 Sep 19  2008 magic
-rw-r--r--   1 root  wheel  29594 Sep 19  2008 mime.types
drwxr-xr-x   4 root  wheel    136 Sep 19  2008 original
drwxr-xr-x   5 root  wheel    170 Jun  3 09:09 other
drwxr-xr-x   5 root  wheel    170 Jun 17 17:21 users

Does this mean you are supposed to change the ownership permissions of

Re: changing the group under apache

JRough wrote:
Quoted text here. Click to load it

And your PHP question is?

Try asking in an appropriate place - like the phpMyAdmin support forums.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: changing the group under apache

JRough schrob:

Quoted text here. Click to load it

This way, both you (through said user account) and PHP (through apache) have
write access to those files.

Quoted text here. Click to load it

| $ groups apache
| apache
This should be the situation after a default setup. When installing apache,
a user is created for it. And every user is a member of its own group.
Now all files that are written by PHP (hence apache) are owned by
apache:apache (unless maybe if you set a sticky bit to the directory).

Quoted text here. Click to load it

This works because those files are readable for world. Apache doesn't change
those files by itself, it only reads them upon start.
Gruß | Greetings | Qapla'
In keiner Lebenslage denkt der Mensch so sehr ans Vorwärtskommen
wie vor einem Stopschild.

Site Timeline