vi /var/log/httpd/error_log
[Fri Feb 02 09:19:30.591299 2024] [proxy:error] [pid 1722] (111)Connection refused: AH00957: FCGI: attempt to connect to 127.0.0.1:9000 (*) failed
[Fri Feb 02 09:19:30.591319 2024] [proxy_fcgi:error] [pid 1722] [client 192.168.150.1:51804] AH01079: failed to make connection to backend: 127.0.0.1
<FilesMatch \.(php|phar)$>
# SetHandler application/x-httpd-php # 이부분을 주석처리
# 아래처럼 핸들러 적용
SetHandler "proxy:fcgi://127.0.0.1:9000"
</FilesMatch>
→ 해결 방법 제시한 사이트 : https://www.redinfo.co.kr/post/view/246
# systemctl stop httpd
# systemctl start httpd
# systemctl start php-fpm
# firewall-cmd --list-all (방화벽 열린포트 확인)
방화벽 9000번 포트 영구적 추가
# firewall-cmd --permanent --add-port=9000/tcp
# firewall-cmd --reload
...[더 보기]