frc / wp-env-heroku-redis
Export Heroku redis addon configuration for WordPress.
Installs: 53 842
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 34
Forks: 0
Open Issues: 1
Requires
- php: >=5.3
This package is auto-updated.
Last update: 2024-11-12 18:33:38 UTC
README
Expose Heroku redis addon configuration to WordPress.
Accepted env keys:
- REDIS_URL: If you are using heroku-redis addon
- REDISCLOUD_URL: If you are using rediscloud addon
- REDIS_SESSION_STORAGE: Set to "true" (without quotes) if you want PHP sessions to be persisted in Redis storage, instead of PHP's default of using machine's temporary directory. This is useful when you need to persist sessions across multiple dynos.
Incompatible changes from 1.0.0
In v2.0.0, REDIS_SESSION_STORAGE
explicitly needs to be set to the string "true" instead of a truthy value.