简体   繁体   English

暂停服务。 Apache2 centos 7

[英]Service Unavailable. Apache2 centos 7

I have installed apache in centos 7. PHP version 7.1 and php-fpm.我已经在centos 7.php 7.1版和php-fpm中安装了apache。 I had restarted system.我已经重新启动系统。 Afterward, apache is working but once i access any file it show me below error.之后,apache 正在工作,但是一旦我访问任何文件,它就会显示以下错误。

503 service Unavailable 503服务不可用

Service Unavailable暂停服务

The server is temporarily unable to service your request due to maintenance downtime or capacity problems.由于维护停机或容量问题,服务器暂时无法为您的请求提供服务。 Please try again later.请稍后再试。

Apache log:阿帕奇日志:

[Tue Nov 13 18:25:25.171750 2018] [proxy:error] [pid 13059] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:6000 (127.0.0.1) failed [Tue Nov 13 18:25:25.171750 2018] [proxy:error] [pid 13059] (111)连接被拒绝:AH00957:FCGI:尝试连接到 127.0.0.1:6000 (127.0.0.1) 失败

Please help me to fix this issue.请帮我解决这个问题。

Finally i got solution of the error.最后我得到了错误的解决方案。 I just uninstall PHP-fpm and used standard PHP 7.1 version and restarted HTTPD services.我只是卸载了 PHP-fpm 并使用了标准的 PHP 7.1 版本并重新启动了 HTTPD 服务。 Its working fine.它的工作正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM