You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Uncaught exception 'RedisException' with message 'Redis server went away' in /var/www/html/api/test.php:4 Stack trace: #0 /var/www/html/api/test.php(4): Redis->ping() #1 {main} thrown in /var/www/html/api/test.php on line 4
The text was updated successfully, but these errors were encountered:
lol did a /usr/sbin/getsebool -a | grep httpd
turns out SELinux wasnt allowing apache to make socket connections. upgrade from CentOS 6.4 to 6.5 somehow turned 'httpd_can_network_connect' off.
just did a setsebool -P httpd_can_network_connect=1
Cant seem to connect to redis server.
Env
Redis Server
redis_version:2.8.4
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:4bc5e29af907c9e6
redis_mode:standalone
os:Linux 2.6.32-431.3.1.el6.i686 i686
PHP
PHP 5.4.24 (cli) (built: Jan 9 2014 07:31:54)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
CentOS release 6.5 (Final)
Linux localhost.localdomain 2.6.32-431.3.1.el6.i686 #1 SMP Fri Jan 3 18:53:30 UTC 2014 i686 i686 i386 GNU/Linux
Code
Error
Fatal error: Uncaught exception 'RedisException' with message 'Redis server went away' in /var/www/html/api/test.php:4 Stack trace: #0 /var/www/html/api/test.php(4): Redis->ping() #1 {main} thrown in /var/www/html/api/test.php on line 4
The text was updated successfully, but these errors were encountered: