Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted January 20, 20205 yr Hi folks, I've successfully installed Redis on my server by using this tutorial. [root@centos-2gb-hel1-1 ~]# systemctl status redis.service ● redis.service - Redis persistent key-value database Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/redis.service.d └─limit.conf Active: active (running) since Mon 2020-01-20 01:11:10 CET; 10s ago Process: 14335 ExecStop=/usr/libexec/redis-shutdown (code=exited, status=0/SUCCESS) Main PID: 14350 (redis-server) CGroup: /system.slice/redis.service └─14350 /usr/bin/redis-server 127.0.0.1:6379 Jan 20 01:11:10 mywebsite.com systemd[1]: Stopped Redis persistent key-value database. Jan 20 01:11:10 mywebsite.com systemd[1]: Starting Redis persistent key-value database... Jan 20 01:11:10 mywebsite.com systemd[1]: Started Redis persistent key-value database. but IPS don't let me select Redis configuration What i'm doing wrong? Cheers
January 20, 20205 yr 13 minutes ago, Dolphin. said: Hi folks, I've successfully installed Redis on my server by using this tutorial. [root@centos-2gb-hel1-1 ~]# systemctl status redis.service ● redis.service - Redis persistent key-value database Loaded: loaded (/usr/lib/systemd/system/redis.service; enabled; vendor preset: disabled) Drop-In: /etc/systemd/system/redis.service.d └─limit.conf Active: active (running) since Mon 2020-01-20 01:11:10 CET; 10s ago Process: 14335 ExecStop=/usr/libexec/redis-shutdown (code=exited, status=0/SUCCESS) Main PID: 14350 (redis-server) CGroup: /system.slice/redis.service └─14350 /usr/bin/redis-server 127.0.0.1:6379 Jan 20 01:11:10 mywebsite.com systemd[1]: Stopped Redis persistent key-value database. Jan 20 01:11:10 mywebsite.com systemd[1]: Starting Redis persistent key-value database... Jan 20 01:11:10 mywebsite.com systemd[1]: Started Redis persistent key-value database. but IPS don't let me select Redis configuration What i'm doing wrong? Cheers Did you install the PHP redis extension? 😉
January 20, 20205 yr Author 28 minutes ago, Webmonster said: Did you install the PHP redis extension? 😉 yeah Build process completed successfully Installing '/usr/lib64/php/modules/redis.so' install ok: channel://pecl.php.net/redis-5.1.1 configuration option "php_ini" is not set to php.ini location You should add "extension=redis.so" to php.ini
January 20, 20205 yr 4 hours ago, Dolphin. said: yeah Build process completed successfully Installing '/usr/lib64/php/modules/redis.so' install ok: channel://pecl.php.net/redis-5.1.1 configuration option "php_ini" is not set to php.ini location You should add "extension=redis.so" to php.ini And if you check php info, does it show up? You can do ACP -> Support and PHP Info or just create that small file yourself.
January 20, 20205 yr 13 hours ago, Dolphin. said: What i'm doing wrong? Enable the Redis PHP extension in php.ini and then restart Apache.
January 20, 20205 yr 17 hours ago, Dolphin. said: yeah [...] You should add "extension=redis.so" to php.ini Did you do this part? If Redis is unselectable in the AdminCP, that means we could not detect the PHP Redis extension.
January 21, 20205 yr Author I already fixed. php-igbinary and php-redis wasn't installed. Thanks guys!
Archived
This topic is now archived and is closed to further replies.