Can you confirm your PHP and the Laravel version that you are using?
It looks like that your current PHP version is not compatible with Redis.
I think a package or part of the project does something strange.
You can see that in the end of a
composer update command it will run
php artisan package:discover --ansi that is a default behavior for a Laravel project.
The strange part is that somewhere in the code it tried to connect to redis. That shouldn't be a part of that commando.
I think you need to read the laravel log ( normally you can find the log files in
storage/logs/ ) to check the stacktrace for the source of this problem.
The version of PHP I am running is:
php -v PHP 8.2.3 (cli) (built: Feb 15 2023 00:34:20) (NTS)
PHP Redis is installed and used for this project. I have the REDIS_CLIENT set to phpredis.
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.