NGINX: connect() to unix:/var/run/php7.2-fpm.sock failed (2: No such file or directory)
I've just recently moved my websites from apache2 to Nginx as my new web server backend. got to love problems aha. HTML files in the web host director work prior to php files making there way main directory then I received 502 error from nginx Error message from nginx: SO thought it was code :) >tail -f /var/log/nginx/error.log >2018/07/03 15:27:45 [alert] 1275#1275: *48 open socket #3 left in connection 11 >2018/07/03 15:27:45 [alert] 1275#1275: aborting >2018/07/03 15:27:47 [crit] 4049#4049: *3 connect() to unix:/var/run/php-fpm.socket failed (2: No such file or directory) while connecting