The php write operation could not be performed because of a configuration file permission error

By December 12, 2016Tutorials

Tips: Sometimes encounter import or manual installation of modules, WEB page configuration file can not be loaded, there may be php operation permissions.

In the astercc system the php execute permissions for asterisk users and groups,you can check /etc/php-fpm.d/www.conf the file user and group parameters are the following:

selection_071-1

If it is not possible to change it manually, or in order, do the following.

sed -i "s/user = .*/user = asterisk/" /etc/php-fpm.d/www.conf
sed -i "s/group = .*/group = asterisk/" /etc/php-fpm.d/www.conf

Leave a Reply