宝塔linux面板phpmyadmin网站访问报502 bad gateway常见解决方法

时间:2023年06月14日

/

来源:网络

/

编辑:佚名

宝塔linux面板 phpmyadmin 网站访问报502 bad gateway常见解决方法
1.使用df -h查看硬盘是否已经有空间
20170620141046
2.使用df -i查看索引节点(inode)是否100%
20170620141256
索引节点(inode)100%的解决方法:
索引节点(inode)用满导致mkdir: cannot create directory `xxx’: No space left on device解决方法!:https://www.78moban.com/article/3411.html
3.使用service php-fpm-xx status查php-fpm是否在运行 xx代表版本号
如果正常提示:php-fpm (pid 13114) is running…
4.phpmyadmin访问报502 bad gateway
apache:
编辑vi /www/server/apache/conf/extra/httpd-vhosts.conf 查到SetHandler “proxy:unix:/tmp/php-cgi-54.sock|fcgi://localhost” 修改为对应的php版本保存重启apache
nginx:
编辑vi /www/server/nginx/conf/enable-php.conf查到fastcgi_pass  unix:/tmp/php-cgi-56.sock; 修改为对应的php版本保存重启nginx
上述为宝塔linux面板phpmyadmin 网站访问报502 bad gateway常见解决方法
猜你需要

豫ICP备2021026617号-1  豫公网安备:41172602000185   Copyright © 2021-2028 www.78moban.com/ All Rights Reserved

本站作品均来自互联网,转载目的在于传递更多信息,并不代表本站赞同其观点和对其真实性负责。如有侵犯您的版权,请联系 1565229909#qq.com(把#改成@),我们将立即处理。