宝塔linux面板 apache网站访问报错503 Service Unavailable解决
时间:2023年06月14日
/来源:网络
/编辑:佚名
宝塔linux面板 apache网站访问报错:
503 Service Unavailable
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
1.检查网站对应的php版本进程是否已经启动。
2. SetHandler “proxy:unix:/tmp/php-cgi-null.sock|fcgi://localhost” 版本号是否空null
比如我网站使用的是php5.6网站配置文件php配置项应该修改为如下:
<FilesMatch .php$>
SetHandler “proxy:unix:/tmp/php-cgi-56.sock|fcgi://localhost”
</FilesMatch>
503 Service Unavailable
Service Unavailable
The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
1.检查网站对应的php版本进程是否已经启动。
2. SetHandler “proxy:unix:/tmp/php-cgi-null.sock|fcgi://localhost” 版本号是否空null
比如我网站使用的是php5.6网站配置文件php配置项应该修改为如下:
<FilesMatch .php$>
SetHandler “proxy:unix:/tmp/php-cgi-56.sock|fcgi://localhost”
</FilesMatch>
新闻资讯 更多
- 【建站知识】查询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