Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

what is the redis configuration? #2

Closed
sunnysideup opened this issue Dec 11, 2016 · 2 comments
Closed

what is the redis configuration? #2

sunnysideup opened this issue Dec 11, 2016 · 2 comments

Comments

@sunnysideup
Copy link

Do you have an example of how to configure redis in the mysite/_config.php file (or otherwise)?

@zpetterd
Copy link

Here is what I have gotten working SS_Cache::add_backend('default', 'Redis', array('server' => array('host'=> 'redis'))); the redis server is resolved by the redis hostname

@sunnysideup
Copy link
Author

sunnysideup commented Mar 14, 2017

thank you! I am now working with memcache, but you must know that memcache and redis are actually completely useless in Silverstripe 3.* (there is an easy fix)

silverstripe/silverstripe-framework#6383

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants