Hello Does anyone know how to install and configure Redis with PHP 7.2? I followed Perfect Server tutorial for Debian 9 with Apache https://www.howtoforge.com/tutorial...-9-stretch-apache-bind-dovecot-ispconfig-3-1/ and then tutorial on how to install PHP 7.2 on Debian 9 https://www.howtoforge.com/tutorial/how-to-install-php-7-on-debian/ But I can't seem to get Redis to work. I'm constantly getting this error "Unable to load dynamic library 'redis.so'" Code: root@vps4:/opt/php-7.2/bin# ./php --version PHP Warning: PHP Startup: Unable to load dynamic library 'redis.so' (tried: /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/redis.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/redis.so: cannot open shared object file: No such file or directory), /opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so (/opt/php-7.2/lib/php/extensions/no-debug-non-zts-20170718/redis.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0 PHP 7.2.2 (cli) (built: Apr 12 2018 15:40:29) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2018 Zend Technologies with Zend OPcache v7.2.2, Copyright (c) 1999-2018, by Zend Technologies with Xdebug v2.6.0, Copyright (c) 2002-2018, by Derick Rethans root@vps4:/opt/php-7.2/bin#
Did you configure the additional PHP version with redis? There is probably a configure option to enable it. as all modules are compiled in, there are no loadable modules. That's just a guess as I haven't used redis with a manually compiled PHP yet.