-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Redis6Proxy incompatible with phpredis #57884
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
Comments
Thank you for the report. Can you please check if #57885 would solve the issue that you experience? |
yes |
…buh) This PR was merged into the 6.4 branch. Discussion ---------- [Cache] fix compatibility with redis extension 6.0.3+ | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #57884 | License | MIT see the differences in the `redis.stub.php` and `redis_cluster.stub.php` files at phpredis/phpredis@6.0.2...develop Commits ------- fce4014 fix compatibility with redis extension 6.0.3+
…edric-anne) This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [Cache] Fix compatibility with Redis 6.1.0 pre-releases | Q | A | ------------- | --- | Bug fix? | yes | New feature? | no | Deprecations? | no | Issues | Fix #57884 | License | MIT The solution provided in #57885 will fix the compatibility with the PHPRedis 6.1.0 release, but the issue persists on the pre-releases (for instance the [6.1.0RC1](https://pecl.php.net/package/redis/6.1.0RC1) version). I propose to use the new signatures for any 6.1.0 version, including its pre-releases. ```php version_compare('6.1.0RC1', '6.1.0', '>='); // false version_compare('6.1.0RC1', '6.1.0-dev', '>='); // true ``` Commits ------- 9569a5f [Cache] Fix compatibility with Redis 6.1.0 pre-releases
after the upgrade to symfony v6.4.12 (which contains this changes) I still had this issue. deleting /var/cache folder and then running |
This is not working on 6.2 - is there any way to fix it besides upgrading to v6.4.12 ? |
No. 6.2 is not maintained anymore and so was not patched. |
Symfony version(s) affected
7.1
Description
After update phpredis/phpredis@6ea5b3e
Get error:
How to reproduce
Create a symfony web project and inside it a Dockerfile with a php container which installs redis
...
FROM php:8.3.8-cli-alpine
...
RUN apk add --no-cache lz4-dev
&& mkdir /tmp/phpredis
&& cd /tmp/phpredis
&& git clone --recurse-submodules https://github.com/phpredis/phpredis "php-redis"
&& cd php-redis
&& phpize
&& ./configure --enable-redis-igbinary --enable-redis-lz4 --with-liblz4=/usr/lib
&& make
&& make install
&& make clean
&& docker-php-ext-enable redis
&& rm -rf /tmp/phpredis
...
Run the docker container and open the website
Possible Solution
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: