You can add new (or edit existed www.conf) php pool here /etc/php5/fpm/pool.d/*.conf to work with any user+group impersonation. For example.