Permission Problem - Nginx - php-fqm

Discussion in 'Server Operation' started by f-do, Apr 24, 2012.

  1. f-do

    f-do New Member

    Hi There,

    i have a litte Problem - I have made the Tutorial there ist the nginx running under www-data - but the php-fpm pool will run under web1, web2.... an so on.

    So i must do the socket listing mode 0666. But i think it is unsecure. If i made 0660 i get in the error.log of nginx - Permission Denied.

    Do you have a secure solution for this?
     
  2. falko

    falko Super Moderator

    You can add the www-data user to the group of the PHP-FPM pool. You can the use the mode 0660.
     

Share This Page