Apache cannot make outgoing HTTP Requests using curl Apache cannot make outgoing HTTP Requests using curl apache apache

Apache cannot make outgoing HTTP Requests using curl


Try this to see if SELinux will let the web server connect to the network:

getsebool httpd_can_network_connect

If not, allow it with

setsebool -P httpd_can_network_connect on

https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/selinux_users_and_administrators_guide/sect-managing_confined_services-the_apache_http_server-booleans