Please specify user and group other than root, pool 'default', specifypool
[Root @ luozhonghua etc] #/usr/local/php/sbin/php-fpm start
Starting php_fpm Jul 12 09:41:02. 077951 [ERROR] fpm_unix_conf_wp (), line 124: please specify user and group other than root, pool 'default'
[Root @ luozhonghua etc] # vi php-fpm.conf
Find
<! -- <Value name = "user"> </value> -->
By default, it is the same as the nginx. conf user name, and is changed to "nobody:
<Value name = "user"> nobody </value
[Root @ luozhonghua etc] #/usr/local/php/sbin/php-fpm start
Starting php_fpm. done
[Root @ luozhonghua etc] #
Php_fpm started successfully!
In linux, how does apache24 run with the root permission? Failed to restart apache by setting User root Group root in httpdconf
Are you installing rpm or installing source code with parameters? For example, -- user
Is your apache owner and group root?
Check the error log to see where it is missing.
Why is there no record in/etc/group after linux adds a user to the root group?
Why? Is your command input incorrect?
Sudo gpasswd-a user root