Questions? We're happy to help

How do I enable Redis Caching for PHP?

Before using Redis Caching with PHP, the redis module must be activated. We explain how you do that in this article. 

Important: Before you can use Redis Caching, a redis database must be created. You can do this via My Account on our website.

Also readHow do I use Redis with Laravel?

Also readHow do I use Redis with WordPress?

 

What is Redis?

Redis is a caching technology which places database data and other data that would normally be retrieved via disks in the fast RAM memory. This RAM memory is even faster than the NVME SSD's that Neostrada uses in the servers, so it can give your website a decent performance boost.

Note: Not all CMS's or code bases benefit directly from Redis caching. For example, if your website uses ever-changing data, database requests will have to be made, which can make your website slower. If your website does not benefit from Redis caching, contact [email protected], you can cancel the order within 30 days free of charge.

 

Steps to activate Redis in a PHP website

Step 1: Log in to cPanel.

Step 2: Under Software, click Select PHP Version.

Step 3: Select a different version than native

Select PHP versie

Step 4: Click Use Defaults at the bottom. Then check the box for redis. Click Save to apply the changes.

 

This knowledgebase article was last updated on: 14 August 2019

Did this article help you?

Status

Ga naar onze statuspagina voor een overzicht van recente storingen en onderhoud.

Opening hours

Maandag — vrijdag 9:00 — 17:00