728x90
setsebool -P httpd_can_network_connect=1
will also be a helpful CLI command to many people visiting this question, as to allow mysql_connet() connections from within HTTP (Apache) requests to a remote MySQL database server, ensure to enable Network Connections from httpd in SElinux usually located in /etc/selinux/config (disabled by default to prevent hackers from attacking other machines using your httpd).
728x90
'APM' 카테고리의 다른 글
CURL ERROR 7 Failed to connect to Permission denied (0) | 2017.07.25 |
---|---|
아파치2의 트래픽 제어 - cband (0) | 2014.12.03 |
[Linux]자바(java) + 톰켓(tomcat) 설치 (0) | 2013.05.27 |
linux 특정 폴더 제외하고 폴더 복사 (0) | 2013.04.27 |
부팅시 데몬 자동 실행 (0) | 2013.04.27 |
댓글