<font color="#333399"><font>Hello,<br><br>After an update of my PHP package, now that I am using the new configuration files, I am setting up my new PHP-FPM UNIX socket.<br><br>My UNIX socket is:<br>- Placed in /var/run/php-fpm.sock<br>
- Owner & group: 'www-data'<br>- Filemode: 0660<br>After restarting PHP-FPM, the new socket has the correct attributes.<br><br>My Nginx configuration spawns workers with the 'nginx' user, which belongs to the 'www-data' group (just checked through the 'groups' command).<br>
<br>However, Nginx can't connect to the PHP socket, it seems to encounter some permissions problems: '*1 connect() to unix:/var/run/php-fpm.sock failed (13: Permission denied) while connecting to upstream'<br>
<br>WHat am I doing wrong? Do I need something in particular in my Nginx configuration?</font></font><br clear="all"><font size="1"><span style="color:rgb(102,102,102)">---<br></span><b><span style="color:rgb(102,102,102)">B. R.</span></b><span style="color:rgb(102,102,102)"></span></font><br>