Package Details: php-redis 4.3.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
Submitter: system
Maintainer: system (balticer)
Last Packager: system
Votes: 14
Popularity: 1.275940
First Submitted: 2018-08-06 09:46
Last Updated: 2019-03-17 14:35

Required by (1)

Sources (1)

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

1 2 Next › Last »

Thaodan commented on 2019-04-22 01:24

Pleasen make it depend on redis.

keithspg commented on 2019-03-31 20:34

this builds and works for armv6h as well. Raspberry Pi B+/Zero

Taijian commented on 2019-03-16 19:28

Is there a reason why all arches exept for x86_64 have been removed from the PKGBUILD? Just asking because it builds and runs fine on my Odroid HC-1 (armv7h). Could you please restore those arches, so that those of us using them do not have to edit the PKGBUILD on every update?

Thank you!

dixi_minga commented on 2019-03-16 15:27

seems to work fine for me also with 32bit 'armv7h' arch=('x86_64' 'armv7h')

Or do I something wrong?

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)