how to solve: nginx Permission denied problem

 

*71 connect() to unix:/run/php/php7.4-fpm.sock failed (13: Permission denied) while connecting to upstream, client: <ip here>, server: <ip here>, request: "GET /iomad/ HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm.sock:", host: "<ip here>"


just give permission  to php7.4-fpm.sock

i solved it by giving sudo chmod -R 0777   php7.4-fpm.sock

Also i tried to open the file but there was again permission denied issue 

i visited my website and it was working

Comments

Popular Posts