An issue in which the php-fpm service and httpd service was failing to start.
Relevant logs ( httpd logs ) shows the following :
Date [proxy:error] [pid] 111 connection refused:FCGI:attempt to connect to 127.0.0.1:8000 (*) failed
Date [proxy_fcgi:error][pid] client ip : failed to make connection to backend:
Root cause is proxy:fcgi is set to run on the same port in which php-fpm was configured to listen on.
Edit the file – /etc/php-fpm.d/www.conf and find this line :
listen = 127.0.0.1:8000
Change the listening port to something different than what proxy_fcgi is using.
Restart the php-fpm service.
Note : Dont forget to whitelist the Port in Firewall, if applicable.
