Activate redis extension

I am trying to install or activate the redis extension. The redis server is running just fine.
I have installed the php redis extension via “php pickle install redis” and " apt-get install php-redis" which went fine. But it does not show in my php info…

any clue what I can do?

Did you restart php?

yes, I even restarted the whole server

Maybe I found the problem
php-config --extension-dir gives me this

/usr/lib/php/20220829

php -i | grep extension_dir gives me this

extension_dir => /usr/lib/php/20200930 => /usr/lib/php/20200930

redis is installed in the /usr/lib/php/20220829 folder

Is php8.2

Run phpx.x-redis instead
Where x.x is your php version

ah thanks!
problem solved

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.