BUG: %backend% interpreted as empty after upgrade to 0.9.8-16
Posted: Thu Aug 04, 2016 10:11 pm
Hello,
I upgraded from 0.9.8-15 to latest (I did yum update and that is it) and all was good. But today I noticed that if I reselect php-fpm backend template in Vesta gui it gets written in /etc/php-fpm.d/.conf - it is missing the part before .conf. And it is not working with that. Also the part in /var/run/php5-.conf is written. The content of /etc/php-fpm.d/.conf is this, I deleted not important parts:
Any idea? Here is the content of the php-fpm template:
The %backend% variable is not set obviously?
I upgraded from 0.9.8-15 to latest (I did yum update and that is it) and all was good. But today I noticed that if I reselect php-fpm backend template in Vesta gui it gets written in /etc/php-fpm.d/.conf - it is missing the part before .conf. And it is not working with that. Also the part in /var/run/php5-.conf is written. The content of /etc/php-fpm.d/.conf is this, I deleted not important parts:
Code: Select all
hostname php-fpm.d # cat .conf
[]
listen = /var/run/php5-.sock
pm.status_path = /status
slowlog = /var/log/php-fpm/-slow.log
Code: Select all
[%backend%]
listen = /var/run/php5-%backend%.sock
listen.allowed_clients = 127.0.0.1
user = %user%
group = %user%
listen.owner = %user%
listen.group = nginx
pm = dynamic
pm.max_children = 8
pm.start_servers = 4
pm.min_spare_servers = 2
pm.max_spare_servers = 5
pm.max_requests = 0
slowlog = /var/log/php-fpm/%backend%-slow.log
php_admin_value[error_log] = /var/log/php-fpm/%backend%-error.log