1、Wordpress上传图片错误:
2、查看php-fpm,发现php-fpm: pool www的User为Apache
ps aux|grep php-fpm
ps aux|grep nginx
3、修改php-fpm www的user/group为:nginx
vim /etc/php-fpm.d/www.conf
systemctl restart php-fpm.service
ps aux|grep php-fpm
ps aux|grep php-fpm
ps aux|grep nginx
vim /etc/php-fpm.d/www.conf
systemctl restart php-fpm.service
ps aux|grep php-fpm
文章评论