Apache user and group

I’m installing FreePBX 2.3.1 on a Debian etch system.
The installation howto tells me to change the Apache user and group to asterisk:asterisk.
I don’t want to change the Apache user and group because I am using Apache for other applications too, and I wish to mantain the www-data user and group.
Can I solve this problem?

Could you help me please?

Thank you very much!

It’s an Asterisk issue with some of the manipulation of Voicemail files. 1.4 may have changed some of that, not sure. The issue has been with some files created with 600 permissions so group settings in Apache would not help. Until we have a ‘daemon’ that brokers all transactions it remains an issue. You can try to set it up but may run into problems, that is a run down. (Another option, patch Asterisk).

Philippe Lindheimer - FreePBX Project Lead
http//freepbx.org - IRC #freepbx


Simply adding the www-data user to the asterisk group solves the problem

adduser www-data asterisk

(under 1.4 at least)


so there’s a way to install freepbx without changing apache user also on CentOS? Can anyone tell me how to do this?

Problem solved, yes is possible and very simple. You just have to put user asterisk in apache group. Everything is working fine this way.