WP_REDIS_HOST missing in application.php

I noticed that .lando.env defines WP_REDIS_HOST=cache but then bedrock/application.php does not apply it, so it’s not available to Redis Cache and other plugins.

I solved it by adding to application.php:

Config::define('WP_REDIS_HOST', env('WP_REDIS_HOST'));

I think you meant Radicle? I should probably just remove that since Radicle doesn’t actually use Redis out of the box :eyes:

Yes, I meant Radicle sorry.

Lando’s wordpress recipe already starts a Redis instance with the name ‘cache’, which is useful for various plugins such as Redis Cache. So unless you want to disable that instance, it would make sense to keep the env variable but also expose it to WP as a define.