Resource icon

Zend Redis Cache 1.6.0

No permission to download
I use php 5.6.x with php redis on:
upload_2016-1-26_21-32-13.webp

But when I try too install (first I upload the upload folder) the addon - I see that:
upload_2016-1-26_21-31-27.webp

Whats the problem? Can anybody help please?
 
@otto that is XF being unable to find the class. Make sure the files uploaded correctly.

If you have opcache.revalidate_freq set to non-zero an ini file, try restarting php/apache . I don't recommend having opcache.revalidate_freq set to non-zero if you are installing add-ons or making template changes.
 
This one right?
tnbRTmp.png
When I use this config (disable saving), After I upgrade Redis to 3.0.7, it ask me to upgrade XenForo again, Why?
And I lost some cache also like bd widgets.
 
When I use this config (disable saving), After I upgrade Redis to 3.0.7, it ask me to upgrade XenForo again, Why?
And I lost some cache also like bd widgets.
When redis restarts, it automatically loads any dump.rdb or appendonly.aof from /var/lib/redis/, you likely have a stale file in there.

Flush the cache via: "redis-cli flushall" , the affected bits should sort themselves out.

You can avoid this by deleting those files, or doing a "redis-cli save" before restarting or upgrading Redis.
 
Can this plugin use pecl php-redis instead of predis (credis is a wrapper for predis as far as I can tell)?
 
Can this plugin use pecl php-redis instead of predis (credis is a wrapper for predis as far as I can tell)?
credis is a fork of predis before predis changed it's licence.

And per the documentation, yes it will use pecl php-redis if available.
 
@Xon , I have this in config
Code:
$config['cache']['backend'] = 'Redis';
$config['cache']['backendOptions'] = array(
'server' => '127.0.0.1',
'port' => 6379,
'connect_retries' => 2,
'use_lua' => true,
);
require(XenForo_Application::getConfigDir().'/SV/RedisCache/Installer.php');

Any suggestion to add some new key option inside regarding your list (default values):
Code:
'server' => '127.0.0.1',
        'port' => 6379,
        'timeout' => 2.5,
        'persistent' : '',
        'force_standalone' => false,
        'connect_retries' => 1,
        'read_timeout' => '',
        'password' => '',
        'database' => 0,
        'notMatchingTags' => false,
        'compress_tags' => 1,
        'compress_data' => 1,
        'lifetimelimit' => 2592000,
        'compress_threshold' => 20480,
        'automatic_cleaning_factor' => 0,
        'compression_lib' => '', // dynamically select first of; snappy,lzf,l4z,gzip
        'use_lua' => false,
        'sunion_chunk_size' => 500,
        'lua_max_c_stack' => 5000,
 
  • Like
Reactions: rdn
@Xon,(or anyone who can help) I have Redis installed and PECL redis, did all the configuring as suggested, installed the addon, and then when I try and engage it with the config.php I get this server error: NOAUTH Authentication required.

Is there somewhere I am supposed to enter the password I set for redis? Not sure what to do here.

edit: I commented out the password and was able to get it to work, yay! Just need to figure out how to get it work using the password. Appreciate any help. :)
 
Last edited:
edit: I commented out the password and was able to get it to work, yay! Just need to figure out how to get it work using the password. Appreciate any help. :)
I'm not sure why the Redis client bit lets you have a blank password :P
 
Back
Top Bottom