装redis无法连接
/usr/sbin/setsebool httpd_can_network_connect=1
装php无法写文件(设置777以及各种用户组也没用)
vim /etc/sysconfig/selinux
SELINUX=enforcing 改为 SELINUX=disabled
reboot
装redis无法连接
/usr/sbin/setsebool httpd_can_network_connect=1
装php无法写文件(设置777以及各种用户组也没用)
vim /etc/sysconfig/selinux
SELINUX=enforcing 改为 SELINUX=disabled
reboot