Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
litespeed_wiki:cache:redis [2017/08/30 19:28] Eric Leu [Install Redis PHP extension] |
litespeed_wiki:cache:redis [2018/05/28 00:31] qtwrk [Integrate WordPress with Redis] |
||
---|---|---|---|
Line 44: | Line 44: | ||
General Plesk support php-redis extention\\ | General Plesk support php-redis extention\\ | ||
{{:litespeed_wiki:cache:redis-7.png?600|}}\\ | {{:litespeed_wiki:cache:redis-7.png?600|}}\\ | ||
- | If your Plesk version not support php-redis by default, please try compile [[https://talk.plesk.com/threads/redis-activation-installation-problems-plesk-onyx.342245/ | Here]] | + | If your Plesk version not support php-redis by default, please try compile [[https://talk.plesk.com/threads/redis-activation-installation-problems-plesk-onyx.342245/ | Follow Here]] |
=== With DirectAdmin === | === With DirectAdmin === | ||
- | Refer [[https://vpsineu.com/blog/install-redis-redis-php-directadmin-centos-linux-vps/ | Redis-PHP in DirectAdmin CentOS ]] | + | Please refer [[https://vpsineu.com/blog/install-redis-redis-php-directadmin-centos-linux-vps/ | Redis-PHP in DirectAdmin CentOS ]] |
=== Without control panel === | === Without control panel === | ||
Line 85: | 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 Cache) Support 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|}} | + | |