Laravel workers not reading .env changes

Heads up! This article was written over 8 years ago. While it may still be helpful, please verify any information, as my perspectives and practices may have evolved.

When using Redis caching in Laravel (5.3), make sure that you manually delete bootstrap/cache/config.php if you want Redis to start being used and your artisan cache:clear commands to have any effect.

I spotted this because my workers weren’t picking up changes to my .env file.