FS#64378 - [php-redis] does not load
Attached to Project:
Community Packages
Opened by Jeff Smith (centralscrutinizer) - Monday, 04 November 2019, 00:10 GMT
Last edited by David Runge (dvzrv) - Thursday, 14 November 2019, 14:39 GMT
Opened by Jeff Smith (centralscrutinizer) - Monday, 04 November 2019, 00:10 GMT
Last edited by David Runge (dvzrv) - Thursday, 14 November 2019, 14:39 GMT
|
Details
Redis 5.1.0-1 Community package
Redis: class not found when constructing object in php. phpinfo() does not show redis module as loaded. Installed 5.0.6-1 from AUR and it works perfectly. Steps to reproduce: Install php-redis 5.1.0-1 Uncomment /etc/php/conf.d/redis.ini [extension=redis] Call sudo systemctl restart httpd Run phpinfo() it will not show a loaded redis module. Redis class not found when running application. To get another version working: Install phpredis-git from AUR 5.0.6-1 Uncomment /etc/php/conf.d/phpredis.ini [extension=redis] Call sudo systemctl restart httpd Run phpinfo() it will show a loaded module. Works in application. |
This task depends upon
Closed by David Runge (dvzrv)
Thursday, 14 November 2019, 14:39 GMT
Reason for closing: Fixed
Additional comments about closing: Note added to config: php-redis 5.1.1-2
Thursday, 14 November 2019, 14:39 GMT
Reason for closing: Fixed
Additional comments about closing: Note added to config: php-redis 5.1.1-2
Have you made sure, that you have php-igbinary activated (check /etc/php/conf.d/igbinary.ini)?
From what I can see in the PKGBUILD of phpredis-git [1] it doesn't rely on php-igbinary, hence I guess, that's why it "works" for you out-of-the-box.
[1] https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=phpredis-git
However, I can add a note to the php config snippet.