Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Your composer.json requires phpredis 2.2.5, but your code requires >= 2.6.12 #14

Open
mbroadhead opened this issue Dec 21, 2015 · 1 comment

Comments

@mbroadhead
Copy link

Hi,
Your composer.json only requires phpredis 2.2.5:
https://github.com/ronnylt/redlock-php/blob/master/composer.json#L12

Your actual code requires phpredis >= 2.6.12:
https://github.com/ronnylt/redlock-php/blob/master/src/RedLock.php#L99

For details, see this:
phpredis/phpredis@711f053

When I run your test with phpredis 2.2.5, I get a Segmentation Fault.

I would recommend you update your composer.json to require phpredis >= 2.6.12

@brianV
Copy link

brianV commented Oct 29, 2016

This looks like a misunderstanding.

The extended set commands are supported in Redis >= 2.6.12. Note that this is not the PHP library, but the actual Redis server.

phpredis has supported the extended commands since version 2.2.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants