Sometimes you might get such warning:
2020/09/22 22:03:14 [xyz] xxxxx#xxxx: **** connect() to unix:/run/php/php7.2-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.2-fpm.sock:", host: "localhost"
The solution sometimes is easy. You should ensure that the NGINX configuration file you have inside your
sites-enabled/ might be using different version of
7.2 ) while you actually might have installed another version (i.e.
7.4) . So, you’d better to ensure they are same and then reload NGINX again.