How to Allow Apache to connect to a remote database under SELinux

Set SELinux to allow remote connections for HTTP

Code:
setsebool -P httpd_can_network_connect=1

That’s all there is to it.

Leave a Reply