forked from RoushTech/docker
Add ext-redis to the frankenphp base image #49
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
matthewbaggett/frankenphp:8.5(the base image this repo'sapp/Dockerfilebuilds from) shipsapcubut notext-redis.someones.computer is adding a Redis/Valkey-backed cache layer (Doctrine query/result cache chained APCu → Redis) and currently has to work around the missing extension with
predis/predis(a pure-PHP client) instead of the real extension.RedisAdapter::createConnection()falls back to Predis automatically when\Redis/Relayaren't loaded, so this isn't broken, but it's slower than the native extension and is dead weight onceext-redisexists.Please add
ext-redis(via PECL, same pattern asapcu) to the frankenphp base image build.Once it lands, someones.computer can drop
predis/predisand let Symfony'sRedisAdapteruse the extension directly — no config change needed on that side,default_redis_provideralready just takes a DSN.