php5-fpm socks user mismatch nginx daemon user
The installation script creates configuration files for php5-fpm socket /etc/php5/fpm/pool.d/apps.conf:
[apps]
listen = /var/lib/php5-fpm/apps.sock
listen.owner = ispapps
listen.group = ispapps
listen.mode = 0660
user = ispapps
group = ispapps
[...]
But with Debian 8 the user running Nginx daemon is defined in /etc/nginx/nginx.conf:
user www-data;
worker_processes auto;
pid /run/nginx.pid;
[...]
To my knowledge the mismatch of user account defined in socket (listen.owner) and Nginx daemon leads to failing calls of corresponding webpage with this error message:
connect() to unix:/var/lib/php5-fpm/ispconfig.sock failed (13: Permission denied)