Answer the question
In order to leave comments, you need to log in
Redis encoding problem?
Good afternoon, I decided to learn redis paired with laravel.
Installed laravel via composer laravel new laravelredis.dev
after installed redis as it is written in off documentation composer require predis/predis
in .env changed cache driver CACHE_DRIVER=redis
added access to redis facade to web.php use Illuminate\Support\Facades\Redis;
wrote data to redis and called
Redis::set('name','Artur');
return Redis::get('name');
b"Ïîäêëþ÷åíèå íå óñòàíîâëåíî, ò.ê. êîíå÷íûé êîìïüþòåð îòâåðã çàïðîñ íà ïîäêëþ÷åíèå. [tcp://127.0.0.1:6379]"
error
log
[06:20:52] LOG.error: [INVALID UTF-8 DATA]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question