Starship Posted January 20, 2020 Posted January 20, 2020 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
Webmonster Posted January 20, 2020 Posted January 20, 2020 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? 😉
Starship Posted January 20, 2020 Author Posted January 20, 2020 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
Webmonster Posted January 20, 2020 Posted January 20, 2020 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.
Lucas James Posted January 20, 2020 Posted January 20, 2020 13 hours ago, Dolphin. said: What i'm doing wrong? Enable the Redis PHP extension in php.ini and then restart Apache.
bfarber Posted January 20, 2020 Posted January 20, 2020 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.
Starship Posted January 21, 2020 Author Posted January 21, 2020 I already fixed. php-igbinary and php-redis wasn't installed. Thanks guys!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.