查看php-fpm 或者nginx运行的用户
#nginx
ps aux | grep -v root | grep nginx | cut -d\ -f1 | sort | uniq
#php-fpm
ps aux | grep -v root | grep php-fpm | cut -d\ -f1 | sort | uniq
原文链接:https://blog.csdn.net/weixin_37178320/article/details/106424457
#nginx
ps aux | grep -v root | grep nginx | cut -d\ -f1 | sort | uniq
#php-fpm
ps aux | grep -v root | grep php-fpm | cut -d\ -f1 | sort | uniq
原文链接:https://blog.csdn.net/weixin_37178320/article/details/106424457