PHP-FPM running user problem

Discussion in 'Installation/Configuration' started by ang3lx, Jan 9, 2014.

  1. ang3lx

    ang3lx New Member

    Hello,
    yesterday I noticed that after some PHP update (debian 6+ispconfig3+apache2), all site that are running under PHP-FPM with hisuser:hisgroup... now I noticed that these run under www-data:www-data.
    Now of course this leads to malfunction of the sites being incorrect permissions.
    Anybody know how I can solve this problem and allow php-fpm to run again under hisuser:hisgroup.

    I'm in pain :(

    thanks in advance
     
  2. Nicram

    Nicram Member

    Same problem here on CentOS 6.4, but i try PHP-FPM for the first time (i do not know if it work well before any updates).
     
  3. falko

    falko Super Moderator ISPConfig Developer

    You can change the user and group in the pool definition (under Debian it's in the /etc/php5/fpm/pool.d directory).
     
  4. Nicram

    Nicram Member

    Falko is ISPConfig prepare pool definitions for new websites when added?
     
  5. till

    till Super Moderator Staff Member ISPConfig Developer

    Yes. ISPConfig creates all files that are required for the website config incl. the pool definitions for the new website user.
     

Share This Page