Nginx

PHP-FPM の実行ユーザとグループを設定

$ vim /etc/php-fpm.d/www.conf
:
; Unix user/group of processes
; Note: The user is mandatory. If the group is not set, the default user's group
;       will be used.
; RPM: apache user chosen to provide access to the same directories as httpd
;user = apache
user = nginx
; RPM: Keep a group allowed to write in log dir.
;group = apache
group = nginx
:
$ systemctl restart php-fpm
$ systemctl restart nginx