ispconfig_setup
ispconfig_setup copied to clipboard
PHP-FPM Socket permission denied
I installed ISP Config using your script, i installed NGINX but when i visit a website i have a 502 Bad Gateway on error.log i found this error
2016/02/14 20:51:13 [crit] 12800#0: *53 connect() to unix:/var/lib/php5-fpm/web1.sock failed (13: Permission denied) while connecting to upstream, client: 80.117.55.180, server: domain.tld, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/lib/php5-fpm/web1.sock:", host: "domain.tld"
I already checked /var/lib/php5-fpm/web1.sock permission but it seems correct
srw-rw---- 1 web1 client0 0 Feb 14 21:16 web1.sock
If I turn off "Use Socket For PHP-FPM" all work succes...
I made a post here
Which distro?
Debian 8 Jessie
Same on Debian 9 when install php7 and 5 together and switch inside ispconfig from 7 to 5 and back.