i am working on Redis to store data Everything is working fine in my local system. i have successfully installed redis also in laravel with this command composer require predis/predis also and Redis setup of window also installed. Now when i store data in Redis like this:-
Redis::set('first',"My first Test"); // put data in Redis key
echo Redis ::get('first'); // get data
Above code is working fine in my local system. when i try to use this code in live server it is showing the below error:- Please help me to resolve this issue. We are using amazon-ec2 server Thanks in advance :)
composer require predis/predis
– Hiren Gohelcomposer update
! – Hiren Gohel.gitignore
file. Just update composer.json file and composer update in server. So, that installed all package files in their vendor folder! And not missing any files! – Hiren Gohel