验证发生错误。请稍后再试一次。
While turning SELinux off certainly does the trick, it is somewhat like using a sledgehammer to break a nut. The similar problem was solved for me with by allowing apache to initiate network connections itself, without disabling SELinux completely:
setsebool -P httpd_can_network_connect 1
本文介绍了一种不完全禁用SELinux的情况下,解决Apache无法发起网络连接的问题。通过设置SEBool参数httpd_can_network_connect为1,允许Apache自行发起网络连接,避免了完全关闭SELinux带来的安全风险。
1273

被折叠的 条评论
为什么被折叠?



