My friend gave me new raspberry pi 3B+ weeks ago, today install fusionpbx on lastest rasbian os, no problem during installing, but can't visit web gui, which shows:
502 Bad Gateway
nginx/1.10.3
after cat /var/log/nginx/error.log
[crit] 15602#15602: *5 connect() to unix:/var/run/php/php7.1-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.1.143, server: fusionpbx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "192.168.1.149"
2018/11/02 16:58:55
[error] 15602#15602: *5 open() "/var/www/fusionpbx/favicon.ico" failed (2: No such file or directory), client: 192.168.1.143, server: fusionpbx, request: "GET /favicon.ico HTTP/1.1", host: "192.168.1.149", referrer: "https://192.168.1.149/"
2018/11/02 17:00:17
checked and didn't find the fold of /var/run/php, how to fix it?
502 Bad Gateway
nginx/1.10.3
after cat /var/log/nginx/error.log
[crit] 15602#15602: *5 connect() to unix:/var/run/php/php7.1-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.1.143, server: fusionpbx, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php7.1-fpm.sock:", host: "192.168.1.149"
2018/11/02 16:58:55
[error] 15602#15602: *5 open() "/var/www/fusionpbx/favicon.ico" failed (2: No such file or directory), client: 192.168.1.143, server: fusionpbx, request: "GET /favicon.ico HTTP/1.1", host: "192.168.1.149", referrer: "https://192.168.1.149/"
2018/11/02 17:00:17
checked and didn't find the fold of /var/run/php, how to fix it?
Last edited: