php连接redis服务出现Redis server went away

来源:互联网 发布:java web truelicense 编辑:程序博客网 时间:2024/05/17 03:16

php连接redis服务出现Redis server went away

  1. /usr/bin/setenforce 是用来修改SELinux的实时运行模式的  
  2.  临时打开:  
  3. setenforce 1          ----设置SELinux 成为enforcing模式  
  4.  临时关闭:  
  5. setenforce 0          ----设置SELinux 成为permissive模式  
  6.  如果要彻底禁用SELinux 需要在/etc/sysconfig/selinux中设置参数SELINUX=disabled

具体参考:http://blog.csdn.net/wangxiaoming099/article/details/23166763

                  http://blog.csdn.net/wangxiaoming099/article/details/23331721



0 0
原创粉丝点击