Skip to content

Configuring Joomla to use Redis

Redis is an open‑source memory object caching system that stores frequently accessed data in RAM. By integrating Redis with Joomla, you can significantly improve site performance and reduce database load. On ruachost.com, Redis is available on Managed VPS accounts. Contact Ruachost support to check availability on your shared hosting plan.

  • Accelerates page load times by caching database queries and API calls.
  • Reduces server resource usage.
  • Improves scalability for high‑traffic Joomla sites.
  • Provides persistent caching across sessions.
  • A hosting plan with Redis enabled (for example, a Managed VPS).
  • Redis service enabled on your server.
  • Joomla version 4 or later recommended.
  1. Log in to your Joomla site as the administrator.
  2. In the left sidebar, click System.
  3. Under Setup, click Global Configuration.
  1. Click the System tab.

  2. In the Session section, locate Session Handler.

  3. Select Redis from the dropdown list.

  4. Configure Redis connection settings:

    • Redis Server Host/Sock →

      • For Managed VPS/Dedicated: localhost
      • For shared hosting (where Redis is enabled): /home/username/.redis/redis.sock (replace username with your hosting account username)
    • Redis Server Port → 6379

  5. Click Save & Close.

  • Clear Joomla cache.
  • Test site performance and confirm sessions are stored in Redis.
  • If Redis is not working, check server logs or Contact us.
  • Redis is not available on every shared hosting plan. Contact Ruachost support to confirm for your account.
  • Always back up your site before making configuration changes.
  • For unmanaged VPS accounts, you must install and configure Redis manually.
  • Redis can also be used for object caching in addition to session handling.