后浪云linux教程:宝塔linux面板 apache网站访问报错503 Service Unavailable解决

宝塔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>

本教程由IDC.NET后浪云创出品 服务器运维官方网址http://IDC.NET 欢迎大家多多关注本站 感谢大家的支持。

THE END