网站首页 美食营养 游戏数码 手工爱好 生活家居 健康养生 运动户外 职场理财 情感交际 母婴教育 时尚美容

Nginx+php7 502 Bad Gateway

时间:2024-10-23 15:01:16

1、首先查找php-fpm位置:1.find / -name php-fpm;2.查看listen值;

Nginx+php7 502 Bad Gateway

3、使用grep查看 php-fpm是否运行;1.netstat -ant | grep 90002.结果为空,说明php-fpm未运行;

Nginx+php7 502 Bad Gateway

5、保存,并重启nginx;/usr/local/nginx/sbin/nginx -s reload

Nginx+php7 502 Bad Gateway
© 2025 小知经验
信息来自网络 所有数据仅供参考
有疑问请联系站长 site.kefu@gmail.com