Control Web Panel

WebPanel => Addons => Topic started by: mind5t0rm on August 20, 2025, 05:11:06 AM

Title: Redis server upgrade
Post by: mind5t0rm on August 20, 2025, 05:11:06 AM
Hello there

(feel free to move this topic to another section if it is incorrectly placed)

I'm currently using

Code: [Select]
redis-server --version
Redis server v=5.0.3 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=14b81d825631ff0c

I've configured the custom repository following Redis documentation, I've cleared DNF cache, and tried everything.

However, DNF will not show me any available update even though Redis current self-hosted version is at 8.X.X

How can I upgrade the Redis server to a newer version?

I'm on AlmaLinux 8.

Is there any guide?

After trying every possible method, Gemini AI suggests that I would need to manually download the files and compile the new version locally, delete the old version and apply the new version - with all the risks of incompatibility that entails.

Thank you very much.
Title: Re: Redis server upgrade
Post by: overseer on August 20, 2025, 10:50:28 AM
Which version of PHP? This guide is older, but still works under AlmaLinux 8:
https://blog.alphagnu.com/speedup-wordpress-decrease-server-load-redis-cache-cwp-centos-webpanel/
Title: Re: Redis server upgrade
Post by: Starburst on August 20, 2025, 11:11:10 AM
Best best is using Cloudflare's CDN and Cache.

Even the highest ranking WP Cache uses and integrates with it.
Title: Re: Redis server upgrade
Post by: mind5t0rm on August 21, 2025, 05:14:51 AM
Which version of PHP? This guide is older, but still works under AlmaLinux 8

Thank you Overseer

NGINX > Apache > PHP-FPM (forced) 8.3.12

I already have Redis Server installed, it is just the default version IMH tends to install.

I'm already using the WP-SALT Keys, custom wp-config.php directives and Redis Cache plugin, etc on all of our WordPress websites.

I've also customized the Redis .conf file for performance reasons.

What I'm looking into is how to upgrade Redis server from its current (2018, I think) version to a newer one closer to Redis 8.X.X

I followed this guide here:
https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/rpm/ (https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/rpm/)

But the repo won't show any update at all.

That's why GEMINI AI suggests to me to completely remove Redis and do a clean-install.

However I'm concerned about incompatibility issues on a production server.

Did anyone tried that before?
Title: Re: Redis server upgrade
Post by: mind5t0rm on August 21, 2025, 05:16:53 AM
Best best is using Cloudflare's CDN and Cache.

Even the highest ranking WP Cache uses and integrates with it.

Thank you StarBurst

Already using CloudFlare Free/PRO on all of our hosted websites + the official CloudFlare WP Plugin + Nginx Helper + Redis Cache + WP-Rocket for some of our websites.

It's a crazy performance based stack  ;) ;) ;)