nginx - linux 启动php-fpm please specify user and group other than root

查看:163
本文介绍了nginx - linux 启动php-fpm please specify user and group other than root的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

问 题

linux 启动php-fpm

解决方案

提示很明确了,为了安全考虑,不要使用root账户来运行php-fpm,否则别人随便一个shell,你的系统不就直接崩溃了吗?
首先新建个www用户和www用户组,然后将配置这里更改为

user=www
group=www

这篇关于nginx - linux 启动php-fpm please specify user and group other than root的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆