Type: New Feature
Affects Version/s: 2.4
Fix Version/s: None
Component/s: FreePBX Framework
I just post here instructions on how-to run freepbx under the standard apache user of your system. I use this on several installation without problem. The only "error" message I noticed is on recording module, the temp file cannot be deleted (wich isn't a big deal as we can configure a cron job to clean it).
Here are the steps:
- add a new variable in /etc/amportal.conf called AMPWEBUSER, for example
- add AMPWEBUSER to asterisk group (this could be done during installation)
usermod -a -G asterisk www
- patch freepbx_engine with the patch attached
Additionnaly, this patch allows to apply fxotune configuration before starting asterisk (during the chown function).
I think that's all. Now you can run apache under the standard user of your system.