I'm trying to change the owner/group of the PHP-FPM socket file.
My www.conf
contains:
[www]
...
listen = /run/php-fpm/www.sock
listen.owner = ben
listen.group = ben
listen.mode = 0660
Upon restarting php-fpm, www.sock
is still owned by root:root
.
If I change the socket file location, or the listen.mode
, the socket file changes accordingly. However, listen.owner
and listen.group
seem to be blatantly ignored.
Why is that?