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