I have just installed the latest version of Cyberpanel in an Ubuntu 20.04 server. A default website has been set up for host SSL.
I wanted to set up Redis so I installed & activated Redis via
Manage Services > Applications
But when I go to
PHP > Install Extensions
“lsphpXX-pecl-redis” is not in the list (tried with all the available PHP versions). As a matter of fact, no “pecl” packages are available or shown in the list.
Running “apt install lsphp80-pecl-redis” returns the following:
E: Unable to locate package lsphp80-pecl-redis
And running “apt install lsphp80-redis” returns the following:
lsphp80-redis is already the newest version (5.3.4-1+focal).
What is the cause for the missing extensions and how can I fix it?
root@ip-172-31-34-208:~# apt-cache search redis
coturn - TURN and STUN server for VoIP
lsphp72-redis - PHP extension for interfacing with Redis
lsphp73-redis - PHP extension for interfacing with Redis
lsphp74-redis - PHP extension for interfacing with Redis
root@ip-172-31-34-208:~#
It seems it is available for PHP 7.2, 7.3 and 7.4 on Ubuntu, run the same command on Ubuntu 18. You can find and install the package but so far I don’t see redis extension for PHP 8.0 by in LiteSpeed repo.
@usmannasir I installed CyberPanel on a fresh Ubuntu 18.04 server, created a website with PHP 7.4 and issued a hostname ssl. Everything seems to be working fine so far but when I repeat the steps above i.e.
Installed & activated Redis via
Manage Services > Applications
But when I go to
PHP > Install Extensions
“lsphpXX-pecl-redis” is not in the list (tried with all the available PHP versions). As a matter of fact, no “pecl” packages are available or shown in the list.
Running “apt install lsphp80-pecl-redis” returns the following:
E: Unable to locate package lsphp80-pecl-redis
And running “apt install lsphp80-redis” returns the following:
lsphp80-redis is already the newest version (5.3.4-1+focal).
RESOLVED: I reinstalled CyberPanel on a fresh Ubuntu system and chose “No” for Redis during installation. I then manually installed and configured Redis via the terminal afterwards and it seems to be working fine now. Will update if I find any issue with this approach.