Skip to content


DCOM-128: RedisCache uses IGBINARY which is not always available #427

doctrinebot opened this Issue · 3 comments

2 participants


Jira issue originally created by user sandermarechal:

The RedisCache uses Redis::SERIALIZER_IGBINARY. See line 47.

The problem is that the php Redis extension can be compiled without IGBINARY support. In that case, this code causes a fatal error because the constant does not exist.

The DotDeb package of php5-redis (often used on Debian systems) for example comes compiled without IGBINARY support.

The code should probably check if the constant exists. If not, the default to Redis::SERIALIZER_PHP


Comment created by peterjmit:

This appears like it will be fixed when 2.4 is released


Comment created by @ocramius:

Already fixed in master


Issue was closed with resolution "Fixed"

@Ocramius Ocramius was assigned by doctrinebot
@doctrinebot doctrinebot added this to the 2.4 milestone
@doctrinebot doctrinebot closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.