To install php redis extension on aaPanel control panel, run
git clone https://github.com/phpredis/phpredis
If you get php-config not found error, you need to create a symlink. This is for server with PHP 7.4 installed, if your server have differnt version of PHP, you may need to change path.
ln -s /www/server/php/74/bin/php-config /usr/bin
Now continue the installation from “./configure” command, it […]