1、检查nginx.conf
检查启动用户权限,有个设置user的地方,修改为你自己的用户:
user root root; worker_processes 1;
; Include one or more files. If glob(3) exists, it is used to include a bunch of ; files from a glob(3) pattern. This directive can be used everywhere in the ; file. include=/etc/php-fpm.d/*.conf
2.1、检查php-fpm.d/www.conf
; Start a new pool named 'www'. [root] ; 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 Choosed to be able to access some dir as httpd user = root ; RPM: Keep a group allowed to write in log dir. group = root
检查修改后重启服务即可
最新评论
密码:blog.sirliu.com
本内容密码:blog.sirliu.com 最新整理的文章在这里喔:https://blog.sirliu.com/2018/11/shell_lian_xi_ti.html