Thinkphp Redis problem

think-queue;
is used in TP5, but when enabled, the Redis extension is not installed!
but my extension does have


I don"t know why? Solve it!
there"s nothing wrong with the environment variable!

Mar.20,2021

do you have 2 or more php versions locally? It is possible that the php executed in cli mode is another version. You can use the command to check whether php in cli mode has redis extensions

php -i | grep redis

if this is the problem, you need to switch the php version in cli mode to the same as browser mode. You can use the tool php-version and Google

yourself.
Menu