/etc/php-fpm.d/www.conf (RHEL/CentOS) /etc/php/7.4/fpm/pool.d/www.conf (Ubuntu20.04) Webサーバーとphp-fpmを実行するのが同じマシンであれば、UNIXドメインソケットを使ったほうが処理が速い [www] listen = /var/run/php-fpm/php-fpm-www.sock user = www #プロセスの実行ユーザー group = www #プロセスの実行グループ listen.owner = nginx #ソケットのオーナー(Webサーバがソケットに対して読み書き可能にする) listen.group = nginx #ソケットのグループ listen.mode = 0660 #ソケットのパーミッション pm = static pm.max_children = 2 pm.ma