安装好PHP之后启动报错:
启动php-fpm报错:please specify user and group other than root, pool 'default
修改 php-fpm.conf (/usr/local/php/etc/php-fpm.conf)
Unix user of processes
Unix group of processes
换成
Unix user of processes
www
Unix group of processes
www
即去掉
启动php-fpm:
/usr/local/php/sbin/php-fpm start