phpredis Questions
5
I am using laravel 8, and it is throwing error, when ever I tried to run:
php artsian config:clear
On laravel, this is my config value (because I am trying to use phpredis):
'client' => env('RED...
8
I have installed Redis in centos and I have multiple keys of redis like this,
Product:<id>:<url>
How can I delete all Product:*:* with CLI ?
Redis version : 3.2.4 [ Latest I guess ]...
Catchword asked 18/11, 2016 at 13:12
2
Solved
I am experiencing difficulties starting Redis 5.3.7 with PHP 8.2 on my Windows machine. When I attempt to start it, a dialog box displays with the message:
"The procedure entry point _zend_ge...
Protomorphic asked 17/6, 2023 at 13:49
10
Solved
Referred this link https://anton.logvinenko.name/en/blog/how-to-install-redis-and-redis-php-client.html
And done following steps
PhpRedis for PHP 7 (Skip it if you have different PHP version)
In...
5
"PHP Fatal error: Uncaught exception 'RedisException' with message 'read error on connection'"
The driver here is phpredis
$redis->blpop('a', 0);
This always times out after ~1 minute. My re...
2
Which one should I choose and why between predis and phpredis ?I am using NGINX and Codeigniter.Thanks in advance
6
Solved
One of my application suddenly started to give error:
Fatal error: Uncaught exception 'RedisException' with message 'Redis server went away' in /var/www/_slim/_core/system/generator.001.php:133 S...
8
By using phpredis, I have saved some data in pagination like this:
review/itemA/1
review/itemA/2
where 1 and 2 are page numbers. I read in the document that you can use wildcards to retrieve...
2
Solved
i am having a problem setting up redis cache with laravel.
i have a redis server runnig on my local machine:
my .env:
i have the localhost on port 6379 ready and listened:
someone plz tell...
Anjanette asked 21/1, 2018 at 0:27
3
Solved
I met a weied problem when installing phpredis by
cd phpredis && ./configure && make && make install
after that, I add
extension=redis.so
into php.ini.
I can get an...
6
I installed nginx, php, php-fpm, php-pecl-redis by yum.
All of them work but the last one.
When I run /usr/sbin/php-fpm, I got this:
PHP Warning: PHP Startup: Unable to load dynamic library '/...
Sholem asked 30/11, 2015 at 8:12
3
Solved
I want to install php54-redis.
Yu:nginx Yu$ brew install josegonzalez/php/php54-redis
==> Installing php54-redis from josegonzalez/homebrew-php
Error: Formulae found in multiple taps:
homebrew...
2
Background
Attempting to use PhpRedis in Laravel 5.3 on a Mac OSX local server
running Apache 2.4.18, Php 7.0.14 and homebrew
...without requiring additional (non-official) composer libraries
Redi...
Contiguity asked 22/12, 2016 at 20:16
3
Solved
Is there any other faster way than EXISTS, to check if a key exists in redis or not?
My problem is, I have over 1 million records in redis and I need to do a key_exists check. This should happen ...
3
Solved
I am trying to build a message queue using Redis.
Whenever client sends new data, they are added to a list.
Here is the code for it
$client->lPush("my_queue", $data);
Now there is a separate...
Moorefield asked 7/1, 2014 at 13:21
2
How does phpredis session locking work internally? Does it store a value internally and keep checking it? If I have a high redis.session.lock_retries will that put load on the server if it takes 10...
0
I have an issue with my Laravel app - many errors in log like that:
READONLY You can't write against a read-only replica.
{"exception":"[object] (RedisException(code: 0): READONLY You can't
wr...
2
My php -v
PHP 7.1.15-1+ubuntu14.04.1+deb.sury.org+2 (cli) (built: Mar 6 2018
11:51:39) ( NTS ) Copyright (c) 1997-2018 The PHP Group Zend Engine
v3.1.0, Copyright (c) 1998-2018 Zend Technologi...
Keepsake asked 2/4, 2018 at 16:49
4
I am trying to store user' request URL as the key and a PHP object corresponding to that key as the value in Redis. I tried the following:
$redisClient = new Redis();
$redisClient->connect('loc...
1
Solved
I have a very simple php redis application which creates keys at certain events. All the keys are just counters and have an expire time of 24 hours. Basically a rolling window of 24 hours for every...
3
I am using https://github.com/nicolasff/phpredis extension to access redis. I want to get all keys in redis from PHP code.
I tried following code:
$redis = new Redis();
$redis->connect('127.0.0....
1
Solved
I'm running Travis CI for running my tests. I'm using the Trusty container with php v5.6.
Here is my entire .travis.yml file:
language: php
dist: trusty
php:
- '5.4'
before_script:
- phpenv ...
Smirk asked 18/6, 2016 at 0:25
3
Solved
I'm a bit confused with all the available storing options of Redis.
I want to do something simple and I don't want to over engineer it.
I'm working with phpredis and Redis v2.8.6.
I have this simp...
Catenate asked 24/2, 2014 at 23:17
2
I'm using Redis in a PHP project. I use phpredis as a client. Sometimes, during long CLI-scripts, I experience PHP segmentation faults.
I've experienced before that phpredis has problems when the ...
Consanguinity asked 9/5, 2014 at 16:39
1
Solved
I'm moving some part of my site from relational database to Redis and need to insert milions of keys in possibly short time.
In my case, data must be first fetched from MySQL, prepared by PHP and...
1 Next >
© 2022 - 2024 — McMap. All rights reserved.