Title: Cannot enable Redis object
Last modified: January 7, 2022

---

# Cannot enable Redis object

 *  Resolved [ideje](https://wordpress.org/support/users/ideje/)
 * (@ideje)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/)
 * HI!
 * I get the message: Object cache could not be enabled.
    Overview Status: Drop-
   in is invalid Drop-in: Invalid Filesystem: Writeable
 *     ```
       Status: Drop-in is invalid
       Client: 
       Drop-in: Invalid
       Disabled: No
       PhpRedis: 5.1.1
       Predis: Not loaded
       Credis: Not loaded
       PHP Version: 7.4.3
       Plugin Version: 2.0.22
       Redis Version: Unknown
       Multisite: No
       Metrics: Disabled
       Metrics recorded: null
       Filesystem: Could not initialize filesystem.
       Drop-ins: [
           "object-cache.php v by "
       ]
       ```
   
 * Object Cache
    Persistent object cache plugin not in use The Redis object cache
   extension for PHP is installed but is not in use by WordPress. You should install
   a Redis plugin
 * What I need to do?
 * Kind, Daniel

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/#post-15230072)
 * You WordPress site doesn’t have proper filesystem permissions.
 * > Could not initialize filesystem.
 * You’ll need to fix that before using this plugin.
 * > [Changing File Permissions](https://wordpress.org/support/article/changing-file-permissions/)
 *  Thread Starter [ideje](https://wordpress.org/support/users/ideje/)
 * (@ideje)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/#post-15230713)
 * Thanx Till,
 * All I had to do was copy the object-cache.php file to the wp-content folder.
 * The next problem I have is the following. I have several websites on VPS. When
   I install the Redis plugin on the second web page, it shows me cached objects
   on all sides from the first page. What settings do I need to change for each 
   website to display its cached objects?
 * define( ‘WP_REDIS_DATABASE’, 0 ); or something else?
 * Kind, Daniel
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/#post-15231386)
 * Yes, change the database for each site.
 *  Thread Starter [ideje](https://wordpress.org/support/users/ideje/)
 * (@ideje)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/#post-15240054)
 * Hi Till,
 * I have successfully set up Redis Object Cache on 14 websites, each with its own
   database number (1 to 14). On the fifteenth website and the and all others, even
   if I set a different database number, it no longer works and behaves as if the
   database number is 0.
 * What is going wrong?
 * Kind Daniel
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/#post-15240924)
 * Redis databases are numbered from `0` to `15` by default.
 * Each site must have it’s own number.
 * After changing the configuration, run `FLUSHALL` on your Redis Server to make
   sure no old data is messing things up.
 *  Thread Starter [ideje](https://wordpress.org/support/users/ideje/)
 * (@ideje)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/#post-15241385)
 * Hi Till,
 * I have 25-30 pages on VPS server. If I understand correctly, I cannot use the
   plugin on all websites because i’m limited to number 15 of redis database, or?
 * Is there any solution to use redis plugin on all websites?
 * Kind Daniel
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/#post-15241626)
 * You can bump the `databases` size in your `redis.conf`.
 *  Thread Starter [ideje](https://wordpress.org/support/users/ideje/)
 * (@ideje)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/#post-15243557)
 * Thanks Till,
 * now is ok supposed.
 * Best regards

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Cannot enable Redis object’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [ideje](https://wordpress.org/support/users/ideje/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/cannot-enable-redis-object/#post-15243557)
 * Status: resolved