Questions tagged [phpredis]

A fast REDIS client library for PHP

A fast Redis client library for PHP, originally created by Owlient and as of 2017 maintained by Michael Grunder and Pavlo Yatsukhnenko on github. This library provides an API for communicating with Redis, a persistent key-value database written in ANSI-C for Posix systems.

201 questions
0
votes
1 answer

How do I know if sessions are successfully being managed by redis?

I've set my values in my PHP.ini as shown below. Redis works and the sessions work. Now what I really wonder is How do I know that sessions are being handles & stored at Redis? I've searched everywhere and I cant find how would I validate that is…
Jonathan Thurft
  • 4,087
  • 7
  • 47
  • 78
0
votes
1 answer

Redis modelling and querying

I have to build an app with redis and phpredis which store logs and show logs. I need to sort and query before display this logs. Log model : id -> 12 group -> sql level -> error message -> query return an error timestamp -> 123423343 url ->…
vlncent
  • 32
  • 4
0
votes
1 answer

redis throws an error even though extension is loaded just fine

Its my fifth day trying to fix this on my mac mountain-lion. I used home brew to install phpredis using this http://www.astonishdesign.com/blog/native-lamp-stack-mac-os-x. By the way home brew was also used to install redis. My php info…
Asim Zaidi
  • 27,016
  • 49
  • 132
  • 221
-1
votes
2 answers

How to use redis "memory usage keyname" command with laravel facade redis? we can use all command except memory command

We can use below commands in laravel. $user = Redis::get('user:profile:'.$id); $values = Redis::lrange('names', 5, 10); $values = Redis::command('lrange', ['name', 5, 10]); but can't use memory usage keyname command with laravel redis facade.
-1
votes
1 answer

Phpredis Prepending Values -- Can't figure out why

I'm running phpredis version 2.2.5 on an Amazon Linux EC2 server, and for a while was fiddling around in the console talking to Redis and everything was working fine. Then, I plug in the PHP and start trying to have my code talk to the DB and that's…
Brenton H
  • 31
  • 2
-2
votes
0 answers

installing phpredis-4.2.0 on ubuntu 20.04 with php5.6

I'm I want to install phpredis-4.2.0 on my Ubuntu20.04 machine with php5.6. I know that php5.6 is outdated but for some reasons, I can't update it right now. I used this command wget…
Tarun
  • 37
  • 7
1 2 3
13
14