Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted June 24, 20195 yr Does anyone know how to install Redis PHP 7.3 extension? I am able to install Redis but not install the PHP extension. If anyone cares to provide extension for Centos 7 that'd be great or if you're for hire to provide those instructions let me know.
June 24, 20195 yr Depends on your setup: For example you may need to try something like this for cpanel: https://tecadmin.net/install-redis-cpanel/ Without cpanel something like this: https://tecadmin.net/install-redis-centos/
June 27, 20195 yr Author For example you may need to try something like this for cpanel: https://tecadmin.net/install-redis-cpanel/ I was able to install Redis server and the PHP extension for PHP 7.1. Is there a way to run Redis with PHP 7.3 on Centos 7?
June 27, 20195 yr I used Pecl like this: Get & unpack: wget https://pecl.php.net/get/redis-4.3.0.tgz tar xzvf redis-4.3.0.tgz cd redis-4.3.0 Build: phpize ./configure make That's it, take the module "redis.so" and insert as an extension to PHP. hth, Thomas
July 3, 20195 yr Author Thought this may help. I was unable to run the instructions above successfully until the PECL module for PHP 7.3 was made available in WHM: https://www.christforums.com/forums/topic/24818-invision-ips4-install-redis-memory-cache-with-php-73-on-centos-7/?tab=comments#comment-92399
July 3, 20195 yr Author pecl install redis - was enough for my env with php-fpm 7.3.3 The initial instructions required phpize. That continually failed on my environment. From what I understand it was because I did not have php7.3dev installed. Not positive but installing the php module from WHM PECL allowed me to successfully install. Anyhoot, up and running now! Thanks to everyone that helped, William
November 23, 20195 yr Thought this may help. I was unable to run the instructions above successfully until the PECL module for PHP 7.3 was made available in WHM: https://www.christforums.com/forums/topic/24818-invision-ips4-install-redis-memory-cache-with-php-73-on-centos-7/?tab=comments#comment-92399 Perfect. But I have 4 questions/problems: 1) REDIS is not recognisable by AdminCP (not clickable to set as cache system), even if it's running on the server: [root@dual ~]# redis-cli ping PONG [root@dual ~]# 2) On EasyApache 4 there is no REDIS phpextension to install. I did only the: In WHM go to Software>>Module Installers>>PHP PECL and search for Redis under PHP 7.3. [root@dual ~]# /opt/cpanel/ea-php73/root/usr/bin/pecl install igbinary igbinary-devel redis Ignoring installed package pecl/igbinary Ignoring installed package pecl/igbinary Ignoring installed package pecl/redis Nothing to install 3) How to setup REDIS password? 4) I have also noticed that following the step by step yum install, it's not installed the latest 5 version of REDIS on server, but the version 3. Is it ok? Package redis-3.2.12-2.el7.x86_64 already installed and latest version Nothing to do Thanks.
November 24, 20195 yr Hello WHM Module Installers -> PHP PECL (Click Manage) --> search for redis and you will get something like: PHP extension for interfacing with Redis Just click install Restart Apache and Php and check... For the password just edit your redis.conf and search for: # requirepass foobared Then uncomment it and change foobared to your password. Setting a password locally is not really needed... Restart Redis service.
November 26, 20195 yr Restart Apache and Php and check... Perfect! The problem was not restarting apache and php-fpm. Thanks.
November 26, 20195 yr It seems to be working now: Redis 3.2.12 9.26M of 31.24G memory used 1230 keys stored in db0 Is it ok to run Redis 3 instead of 5?
Archived
This topic is now archived and is closed to further replies.