以下、CentOS 6.xで構築。
# yum install epel-release # rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm # yum --enablerepo=remi-php56 install php php-fpm # cp /etc/php-fpm.d/www.conf /etc/php-fpm.d/www.conf.org # diff /etc/php-fpm.d/www.conf /etc/php-fpm.d/www.conf.org 23c23 < user = nginx --- > user = apache 25c25 < group = nginx --- > group = apache 39,40c39 < ;listen = 127.0.0.1:9000 < listen = /var/run/php-fpm/php-fpm.sock --- > listen = 127.0.0.1:9000 50,52c49,51 < listen.owner = nginx < listen.group = nginx < listen.mode = 0660 --- > ;listen.owner = nobody > ;listen.group = nobody > ;listen.mode = 0660