PHP-FPM and SELinux

Troubleshooting a new Centos8 machine, I encountered a very strange problem: my Apache+PHP setup was working fine, but every CURL script was not working. No errors, only blank pages. Digging into the problem, I fixed it running this command: setsebool -P httpd_can_network_connect on The issue was generated by SELinux: the Read more…