Package Details: php-redis 4.2.0-1

Git Clone URL: https://aur.archlinux.org/php-redis.git (read-only)
Package Base: php-redis
Description: PHP extension for interfacing with Redis
Upstream URL: http://pecl.php.net/package/redis
Licenses: PHP
Conflicts: phpredis-git
Submitter: system
Maintainer: system (balticer)
Last Packager: system
Votes: 12
Popularity: 2.434676
First Submitted: 2018-08-06 09:46
Last Updated: 2018-12-10 12:04

Pinned Comments

system commented on 2018-12-14 09:33

Please don't forget that you have to rebuild all php extensions after you update to a new php major version.

That means you have to rebuild both php-igbinary and php-redis after you have upgraded to php-7.3, so they get build for that version or php-redis will not work properly (i.e. you will get errors like "Unable to load dynamic library 'redis.so'" in the php error log).

If you still have problems after doing this, please post a useful description on what exactly your problem is. Is php-redis extension loaded (check e.g. "php -m", "extension_loaded('redis')" or "phpinfo()")? Is the Redis class defined? What error messages do you get?

Latest Comments

ITwrx commented on 2019-01-17 20:49

i can't get php-redis 4.2.0-1 or 4.1.1-1 to work with php7.3. php-fpm starts with no errors, but laravel reports "Call to undefined method Illuminate\Support\Facades\Redis::connect()". "php -m" doesn't show redis available. downgrading to php7.2 worked with php-redis 4.1.1-1 (but not php-redis 4.2.0-1, IIRC). i can't downgrade to php7.2 b/c php7.2 expects readline 7, but arch has moved on to readline 8 so php7.2 won't start anymore. btw, i rebuilt both igbinary and php-redis 4.2.0-1 prior to trying to use php7.3. any hints or fixes appreciated.

update: phpredis-git works fine.

python commented on 2018-12-24 19:30

Unable to load dynamic library 'redis.so' (tried: /usr/lib/php/modules/redis.so (/usr/lib/php/modules/redis.so: undefined symbol: igbinary_serialize),

php 7.3.0-1 php-igbinary 2.0.8-1 php-redis 4.2.0-1

what lib can cause that?

C0rn3j commented on 2018-12-19 22:17

Just wanted to add that I also had issues with Nextcloud after upgrade and rebuilding php-igbinary and then php-redis was the solution, so thanks!

ngoonee commented on 2018-12-19 01:20

Rebuilding both php-igbinary and php-redis with php-7.3 does not help. That's not the root issue either, since downgrading to php-redis 4.1.1-1 works (even with php-7.3 installed).

Problem is likely upstream though since there's no real changes with this package. Will take it up there if I find time, to be honest just going for APCu is more feasible for me currently.

system commented on 2018-12-14 09:33

Please don't forget that you have to rebuild all php extensions after you update to a new php major version.

That means you have to rebuild both php-igbinary and php-redis after you have upgraded to php-7.3, so they get build for that version or php-redis will not work properly (i.e. you will get errors like "Unable to load dynamic library 'redis.so'" in the php error log).

If you still have problems after doing this, please post a useful description on what exactly your problem is. Is php-redis extension loaded (check e.g. "php -m", "extension_loaded('redis')" or "phpinfo()")? Is the Redis class defined? What error messages do you get?

ITwrx commented on 2018-12-13 21:36

maybe it's due to updating to php 7.3? so far, php-redis doesn't seem to be working for me with php7.3 in testing env. of course, i bypassed a test failure in igbinary so that might not be helping anything. i notice when downgrading to php7.2 that igbinary passes it's tests...

update: php-redis 4.2.0-1 doesn't even work for me with php7.2. had to drop back to the version i was using before (4.1.1-1)

tredlock commented on 2018-12-13 05:51

I am having issues with php-redis and Nextcloud. Had to build it with pecl in order for the extension to work (version 4.2.0).

ngoonee commented on 2018-12-13 05:14

Anyone having problem with using redis with own/nextcloud? I have to fall back to APCu currently cos I can't get redis working (was fine last week).