My page documents locate in /usr/local/var/www
drwxr-xr-x joshua:admin
My nginx configure is nginx.conf and my php and php-fpm configure is this file
and I find I can use wordpress(/usr/local/var/www/wordpress) perfectly, but not anchor(/usr/local/var/www/anchor), anchor will shows 500 error.
I get this log from the php-fpm
NOTICE: [pool www] 'user' directive is ignored when FPM is not running as root
NOTICE: [pool www] 'group' directive is ignored when FPM is not running as root
I already tried make the php-fpm.conf file like this
user = joshua
group = admin
listen.owner = joshua
listen.group = admin
but nothing happened, and the error log still the same.
Is there any ways can make it work when FPM is not running as root, because I dont realy want FPM run as root.