Title: swiftc's Replies | WordPress.org

---

# swiftc

  [  ](https://wordpress.org/support/users/swiftc/)

 *   [Profile](https://wordpress.org/support/users/swiftc/)
 *   [Topics Started](https://wordpress.org/support/users/swiftc/topics/)
 *   [Replies Created](https://wordpress.org/support/users/swiftc/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/swiftc/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/swiftc/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/swiftc/engagements/)
 *   [Favorites](https://wordpress.org/support/users/swiftc/favorites/)

 Search replies:

## Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redis Object Cache] Replication & Clustering Question](https://wordpress.org/support/topic/replication-clustering-question/)
 *  Thread Starter [swiftc](https://wordpress.org/support/users/swiftc/)
 * (@swiftc)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/replication-clustering-question/#post-7647533)
 * Thanks, actually had to disable requirepass as the PHP sessions cannot seem to
   use it. Maybe works in new Redis but not via old one in YUM. Have a good day!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redis Object Cache] Cannot AUTH](https://wordpress.org/support/topic/cannot-auth/)
 *  Thread Starter [swiftc](https://wordpress.org/support/users/swiftc/)
 * (@swiftc)
 * [10 years ago](https://wordpress.org/support/topic/cannot-auth/#post-7113479)
 * Thanks Trill that was the issue! :O)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redis Object Cache] Cannot AUTH](https://wordpress.org/support/topic/cannot-auth/)
 *  Thread Starter [swiftc](https://wordpress.org/support/users/swiftc/)
 * (@swiftc)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/cannot-auth/#post-7113367)
 * I hope this will help someone else.
 * I resolved this by moving the below lines from “wp-config.php” to “object-cache.
   php”
 * ===
    define(‘WP_REDIS_HOST’, ‘127.0.0.1’); define(‘WP_REDIS_PORT’, ‘6379’); define(‘
   WP_REDIS_DATABASE’, ‘1’); define(‘WP_REDIS_PASSWORD’, ‘mypass’); define(‘WP_CACHE_KEY_SALT’,‘
   example.com’); ===
 * Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redis Object Cache] Redis Status: Not Installed](https://wordpress.org/support/topic/redis-status-not-installed/)
 *  [swiftc](https://wordpress.org/support/users/swiftc/)
 * (@swiftc)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/redis-status-not-installed/#post-6175565)
 * PECL has to match Redis version?
 * ===
    root@public01 [~]# rpm -qa | grep redis redis-3.2-0.4.rc3.el6.remi.x86_64
   === === root@public01 [~]# pecl install redis pecl/redis is already installed
   and is the same as the released version 2.2.7 ===
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redis Object Cache] Redis Status: Not Installed](https://wordpress.org/support/topic/redis-status-not-installed/)
 *  [swiftc](https://wordpress.org/support/users/swiftc/)
 * (@swiftc)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/redis-status-not-installed/#post-6175564)
 * Hmm, I have now got same issue.
 * ===
    Redis Status Not installed Configuration Protocol: TCP Host: 127.0.0.1 Port:
   6379 Database: 1 Password: **************** Key Prefix: example.com ===
 * ===
    root@public01 [~]# pecl install redis pecl/redis is already installed and
   is the same as the released version 2.2.7 ===
 * ===
    root@public01 [~]# php -m | grep redis redis ===
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Redis] Cannot AUTH](https://wordpress.org/support/topic/cannot-auth-1/)
 *  Thread Starter [swiftc](https://wordpress.org/support/users/swiftc/)
 * (@swiftc)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/cannot-auth-1/#post-7113335)
 * I do have other things like PHP Sessions being cached in another db also using
   AUTH OK via php.ini:
 * ===
    session.save_handler = redis session.save_path = “tcp://127.0.0.1:6379?database
   =10&auth=mypass” ===
 * That all works OK. But for WordPress via plugin I see this in Apache error_log:
 * ===
    [01-Mar-2016 21:13:51 UTC] PHP Fatal error: Uncaught exception ‘RedisException’
   with message ‘Failed to AUTH connection’ in /home/example/public_html/wp-content/
   plugins/wp-redis/object-cache.php:939 Stack trace: #0 [internal function]: Redis-
   >flushAll() #1 /home/example/public_html/wp-content/plugins/wp-redis/object-cache.
   php(939): call_user_func_array(Array, Array) #2 /home/example/public_html/wp-
   content/plugins/wp-redis/object-cache.php(1047): WP_Object_Cache->_call_redis(‘
   flushAll’) #3 /home/example/public_html/wp-content/plugins/wp-redis/object-cache.
   php(155): WP_Object_Cache->__construct() #4 /home/example/public_html/wp-includes/
   load.php(473): wp_cache_init() #5 /home/example/public_html/wp-settings.php(95):
   wp_start_object_cache() #6 /home/example/public_html/wp-config.php(84): require_once(‘/
   home/example…’) #7 /home/example/public_html/wp-load.php(37): require_once(‘/
   home/example…’) #8 /home/example/public_html/wp-blog-header.php(12): require_once(‘/
   home/example…’) #9 /home/example/public_html in /home/example/public_html/wp-
   content/plugins/wp-redis/object-cache.php on line 939 ===
 * Thanks for any help!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Redis Object Cache] Cannot AUTH](https://wordpress.org/support/topic/cannot-auth/)
 *  Thread Starter [swiftc](https://wordpress.org/support/users/swiftc/)
 * (@swiftc)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/cannot-auth/#post-7113334)
 * Sorry for delay, Yes I have other things like PHP Sessions being cached in another
   db also using AUTH OK via php.ini:
 * ===
    session.save_handler = redis session.save_path = “tcp://127.0.0.1:6379?database
   =10&auth=mypass” ===
 * That all works OK. But for WordPress via plugin I see this in Apache error_log:
 * ===
    [01-Mar-2016 21:13:51 UTC] PHP Fatal error: Uncaught exception ‘RedisException’
   with message ‘Failed to AUTH connection’ in /home/example/public_html/wp-content/
   plugins/wp-redis/object-cache.php:939 Stack trace: #0 [internal function]: Redis-
   >flushAll() #1 /home/example/public_html/wp-content/plugins/wp-redis/object-cache.
   php(939): call_user_func_array(Array, Array) #2 /home/example/public_html/wp-
   content/plugins/wp-redis/object-cache.php(1047): WP_Object_Cache->_call_redis(‘
   flushAll’) #3 /home/example/public_html/wp-content/plugins/wp-redis/object-cache.
   php(155): WP_Object_Cache->__construct() #4 /home/example/public_html/wp-includes/
   load.php(473): wp_cache_init() #5 /home/example/public_html/wp-settings.php(95):
   wp_start_object_cache() #6 /home/example/public_html/wp-config.php(84): require_once(‘/
   home/example…’) #7 /home/example/public_html/wp-load.php(37): require_once(‘/
   home/example…’) #8 /home/example/public_html/wp-blog-header.php(12): require_once(‘/
   home/example…’) #9 /home/example/public_html in /home/example/public_html/wp-
   content/plugins/wp-redis/object-cache.php on line 939 ===
 * Thanks for any help!

Viewing 7 replies - 1 through 7 (of 7 total)