Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
litespeed_wiki:cache:redis [2017/09/05 13:17]
Eric Leu [Install Redis PHP extension]
litespeed_wiki:cache:redis [2018/05/28 00:31]
qtwrk [Integrate WordPress with Redis]
Line 86: Line 86:
 **Note:** For more redis benchmark information,​ please refer to [[https://​redis.io/​topics/​benchmarks | this]] **Note:** For more redis benchmark information,​ please refer to [[https://​redis.io/​topics/​benchmarks | this]]
 ==== Integrate WordPress with Redis ==== ==== Integrate WordPress with Redis ====
-  - Install ​the **Redis Object Cache** WordPress Plugin \\ {{:​litespeed_wiki:​cache:​redis-5.png?​400|}} +Please refer the following article ​ 
-  - Activate the plugin and click **Enable Object Cache** button \\ {{:litespeed_wiki:​cache:​redis-2.png?​600|}} +[[litespeed_wiki:​cache:​lscwp:configuration:cache:object_cache|Memcached, LSMCD and Redis (Object CacheSupport in LSCWP]]
-  - Confirm Status is ''​Connected''​ \\ {{:litespeed_wiki:cache:redis-3.png?​600|}} +
-  - Confirm Diagnostics shows Redis with version \\ {{:​litespeed_wiki:​cache:​redis-6.png?​600|}} +
-  - Edit ''​wp-config.php''​ and at the end of the ''​Authentication Unique Keys and Salts''​ section, add the following lines: +
-    * ''<​nowiki>​define('​WP_CACHE_KEY_SALT',​ '​string'​);</​nowiki>''​ +
-    * ''<​nowiki>​define('​WP_CACHE',​ true);</​nowiki>''​ +
-  - Restart LSWS \\ <​code>​service lsws restart</​code>​ +
-  - Test that WordPress is communicating with Redis via a ''​monitor''​ command: \\ <​code>​ redis-cli monitor </​code>​ {{:​litespeed_wiki:​cache:​redis-4.png?​300|}}+
  
  
  • Admin
  • Last modified: 2018/05/28 00:31
  • by qtwrk