![pecl install redis pecl install redis](https://grepitout.com/wp-content/uploads/2016/10/install-redis-900x600-900x556.jpg)
The install of the `php-redis` and `php-igbinary` packages should have done all this for you (`php-redis` is *dependent* on `php-igbinary`). You can try your searches with the PHP cli processor again. If you are using *php-fpm*, it needs to be sudo systemctl restart php72-fpm You can can establish them cd sudo ln -s /etc/php/7.2/mods-available/redis.ini sudo ln -s /etc/php/7.2/mods-available/redis.ini sudo ln -s /etc/php/7.2/mods-available/igbinary.ini sudo ln -s /etc/php/7.2/mods-available/igbinary.ini. `./cli/conf.d/20-redis.ini` and `./fpm/conf.d/20-redis.ini` should be symlinks to ll. `./cli/conf.d/20-igbinary.ini` and `./fpm/conf.d/20-igbinary.ini` should be symlinks to ll. If that's ok, you need to make sure the library is loaded by PHP7.2. Next, you have to make sure the PHP configuration for the shared libraries ls ls /etc/php/7.2/mods-available/igbinary.ini You interpret `` using the format **YYYYjj.mm**, where: *n.b.,* you may have more than one.one for PHP5.6 and one for PHP7.2. Make sure the shared library is installed sudo find / -name sudo find / -name redis.so You need to make sure that PHP is loading the PHP/*redis* interface shared library. I take no responsibility for your actions. **WARNING! WARNING! WARNING!** You can seriously mess up your system doing all this. WARNING! The above assumes you are using Debian/Ubuntu.ĭescription **WARNING!** The following assumes you are using Debian/Ubuntu. The install of the php-redis and php-igbinary packages should have done all this for you ( php-redis is dependent on php-igbinary).
![pecl install redis pecl install redis](https://www.host-stage.net/images/knowledgebase/linuxvps/installredis/install-redis-cpanel-centos7-2.png)
cli/conf.d/20-redis.ini -> /etc/php/7.2/mods-available/redis.ini fpm/conf.d/20-redis.ini should be symlinks to. cli/conf.d/20-igbinary.ini -> /etc/php/7.2/mods-available/igbinary.ini fpm/conf.d/20-igbinary.ini should be symlinks to. If that's ok, you need to make sure the library is loaded by PHP7.2.:~$ ls /etc/php/7.2/mods-available/igbinary.ini :~$ ls /etc/php/7.2/mods-available/redis.ini Next, you have to make sure the PHP configuration for the shared libraries exists:.You interpret using the format YYYYjj.mm, where: N.b., you may have more than one…one for PHP5.6 and one for PHP7.2. Make sure the shared library is installed properly.You need to make sure that PHP is loading the PHP/ redis interface shared library. WARNING! WARNING! WARNING! You can seriously mess up your system doing all this. WARNING! The following assumes you are using Debian/Ubuntu. I have confirmed the installation by using the below command Ĭan you suggest the exact steps for installing it for both the PHP version correctly?
![pecl install redis pecl install redis](https://supporthost.in/wp-content/uploads/2020/07/plesk-redis1.png)
PHP Warning: Module 'redis' already loaded in Unknown on line 0Ĭan you suggest the exact steps for installing it for both the PHP version correctly? Hi, Thanks for your suggestions. **for php 5.6 : php.d]# php -m |grep redis **for php 7.2 : php.d]# php72 -m |grep redis I have confirmed the installation by using the below command The issue is that the extension does not load up for PHP 7.2 when I check phpinfo but for PHP 5.6 it shows up in phpinfo. I have installed the PHP Redis extension for PHP 5.6 and PHP 7.2 version. Description Hi, Thanks for your suggestions.