Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Sovereign Grace Singles Posted June 24, 2019 Posted June 24, 2019 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.
ASTRAPI Posted June 24, 2019 Posted June 24, 2019 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/
Sovereign Grace Singles Posted June 27, 2019 Author Posted June 27, 2019 On 6/24/2019 at 12:45 PM, ASTRAPI said: 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?
Thomas P Posted June 27, 2019 Posted June 27, 2019 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
Sovereign Grace Singles Posted July 3, 2019 Author Posted July 3, 2019 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
Numbered Posted July 3, 2019 Posted July 3, 2019 pecl install redis - was enough for my env with php-fpm 7.3.3
Sovereign Grace Singles Posted July 3, 2019 Author Posted July 3, 2019 9 hours ago, Upgradeovec said: 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
sobrenome Posted November 23, 2019 Posted November 23, 2019 On 7/3/2019 at 3:45 AM, Christforums said: 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.
ASTRAPI Posted November 24, 2019 Posted November 24, 2019 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.
sobrenome Posted November 26, 2019 Posted November 26, 2019 On 11/24/2019 at 3:27 AM, ASTRAPI said: Restart Apache and Php and check... Perfect! The problem was not restarting apache and php-fpm. Thanks.
sobrenome Posted November 26, 2019 Posted November 26, 2019 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?
ASTRAPI Posted November 26, 2019 Posted November 26, 2019 Latest version has more features and performance adjustments...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.