Support » Plugin: Redis Object Cache » Redis and php-redis installation

  • Resolved berrywhy

    (@berrywhy)


    Hello, I followed the tutorial below and installed Redis and made changes to etc/redis/redis.conf file.

    But I was not be able to install php redis from https://github.com/phpredis/phpredis/archive/develop.zip
    It gave error unmet dependencies, etc. probably related to my php version. 7.4.x

    Anyway I just ran sudo apt install php-redis and restarted apache2. After that I installed the plugin and now it looks like everything works as normal.

    When I installed php-redis with the command above redis.ini file was automatically created at /etc/php/7.x/apache2/conf.d/redis.ini

    Screenshot of metrics and diagnostics: https://imgur.com/DfnQSUp

    My question is that is there anything else I need to do make sure everything works as normal and is secure. I also use wp super cache and cloudflare. And why this command installed redis 5 instead of redis 6?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Looks great.

    Just make sure your Redis instance is not accessible remotely, or if it is, use a password for it 👍

    berrywhy

    (@berrywhy)

    Thanks, how can I understand if it is accessible? I need to replace foobared with password # requirepass foobared at /etc/redis/redis.conf right?

    Plugin Author Till Krüss

    (@tillkruess)

    I’d suggest asking for developer or hosting provider with assistance.

    berrywhy

    (@berrywhy)

    Changing this bind 127.0.0.1 to 0.0.0.0 make it remotely accessible?

    I heard it is still better to put a password for a greater security. I’ll do it.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.