宝塔linux面板phpmyadmin网站访问报502 bad gateway常见解决方法
时间:2023年06月14日
/来源:网络
/编辑:佚名
宝塔linux面板 phpmyadmin 网站访问报502 bad gateway常见解决方法
1.使用df -h查看硬盘是否已经有空间

2.使用df -i查看索引节点(inode)是否100%

索引节点(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常见解决方法
1.使用df -h查看硬盘是否已经有空间

2.使用df -i查看索引节点(inode)是否100%

索引节点(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常见解决方法
新闻资讯 更多
- 【建站知识】查询nginx日志状态码大于400的请求并打印整行04-03
- 【建站知识】Python中的logger和handler到底是个什么?04-03
- 【建站知识】python3拉勾网爬虫之(您操作太频繁,请稍后访问)04-03
- 【建站知识】xpath 获取meta里的keywords及description的方法04-03
- 【建站知识】python向上取整以50为界04-03
- 【建站知识】scrapy xpath遇见乱码解决04-03
- 【建站知识】scrapy爬取后中文乱码,解决word转为html 时cp1252编码问题04-03
- 【建站知识】scrapy采集—爬取中文乱码,gb2312转为utf-804-03