CyberPanel Community

Redis php extension not shown in list

ss
ssrvr #1

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?

10 replies
ss
ssrvr #2

UPDATE: Tried installing CyberPanel on a fresh Ubuntu 18.04 server and the extensions are missing on this one as well.

us
usmannasir #3

OK. I will check tomorrow and revert.

ss
ssrvr #4

@usmannasir I tried reinstalling it with no Postfix, DNS or FTP hoping it’ll somehow help but the issue persists. What could be causing this?

us
usmannasir #5

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.

ss
ssrvr #6

So redis is only available in PHP 7.2, 7.3 and 7.4 and just for Ubuntu 18.04 right now? Let me check and confirm.

ss
ssrvr #7

@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).
us
usmannasir #8

It seems redis extension is already installed. You also need to install redis daemon.

ss
ssrvr #9

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.

sr
sreni #10

i have same issue

Sign in to reply