How do I set the user of php-fpm to be php-user instead of www-data?
Look in your conf file /etc/php5/fpm/pool.d/www.conf
. There you will find options user and group. It will appear as [www]
. You can make it into [myuser] group=mygroup
.
Look in your conf file /etc/php5/fpm/pool.d/www.conf
. There you will find options user and group. It will appear as [www]
. You can make it into [myuser] group=mygroup
.