Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
0 votes
1 answer
71 views

I will share my experience about a crazy problem on one application that I manage, that is a Laravel application publish on AWS ECS, that need to use a shared redis to store sessions and developers ...
Luca Camillo's user avatar
0 votes
1 answer
219 views

I'm using Laravel with phpredis and sometimes I get transient errors of the form SSL: Connection reset by peer. I'd like to configure Laravel to retry the command when this happens. The current means ...
ChaseMedallion's user avatar
1 vote
0 answers
220 views

We had a 1 hour window where a small percentage of requests failed intermittently across multiple different servers all with RedisCluster::get(): SSL: Connection reset by peer when trying to connect ...
Mat's user avatar
  • 126
1 vote
0 answers
110 views

I am experiencing unexpected latency issues with Redis in my Laravel application. Here are the details: Setup: Redis Client: I am using the phpredis extension. Environment: Redis is running on Windows ...
جهاد الادهمي's user avatar
1 vote
2 answers
404 views

I am trying to install php-redis via pecl. Running this: php -i | grep API gives this: PHP API => 20220829 I then run pecl install redis and I get the message: ... running: phpize Configuring for: ...
Leon Segal's user avatar
1 vote
0 answers
42 views

I have a serverless redis-based Elasticache instance. I've configured Laravel to use redis as it's session driver and configured the pointed the redis connection at my Elasticache instance. I'm ...
Mat's user avatar
  • 126
0 votes
1 answer
909 views

I am newbee here, sorry if the question is stupid I'm trying to install php7.1-redis on Ubuntu 24.04, but I'm getting the following errors: E: Unable to locate package php7.1-redis E: Couldn't find ...
reptiloid's user avatar
0 votes
0 answers
2k views

I am trying to install PHP-Redis extension in MacOS for PHP 8.3 using Homebrew but after installing I am getting this error. /usr/local/Cellar/php/8.3.0/pecl/20230831/redis.so doesn't appear to be a ...
nicholasnet's user avatar
  • 2,317
1 vote
0 answers
362 views

I have recently started with laravel and php and implemented redis using predis for a single node redis server ( using azure redis for cache ). All was good until we decided to upgrade and turn ...
BionicSharkie's user avatar
0 votes
1 answer
325 views

I am using phpredis as a session handler (https://github.com/phpredis/phpredis). My current connection string looks like this: session.save_path = "tcp://10.0.1.11:7005?weight=1&timeout=0.2&...
forke's user avatar
  • 21
-2 votes
2 answers
3k views

The Laravel documentation recommends using the phpredis PHP extension instead of the predis package due to having better performance, which PHP extensions generally seem to at the cost of a more ...
Hashim Aziz's user avatar
  • 6,566
0 votes
1 answer
1k views

Normally when I json_encode and set a value in Redis it gets stored as a string. How do I store a value as JSON I've tried the following : $redisCon = Redis::connection('default'); $data = $redisCon-&...
Abhishek's user avatar
  • 329
0 votes
1 answer
1k views

I'm trying to do a PHP Redis connection. I explored the phpredis and the predis packages and didn't find a way to include the username and password URL connection string. This is because I receive a ...
David Pires's user avatar
0 votes
1 answer
108 views

I am trying to create an index in redis with the following code $schema = [ new NumericField('doc_id'), new NumericField('entity_id'), new VectorField('embedding', 'HNSW', ['DIM' => 768,...
Danilo Toro's user avatar
0 votes
2 answers
3k views

I'm looking into a way to setup Redis HA using Sentinels, and am looking into drivers that will work with laravel and laravel/horizon for job scheudling. I've been looking into solutions on google - ...
Erikas's user avatar
  • 79
7 votes
2 answers
16k views

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 ...
GanesH RahuL's user avatar
2 votes
1 answer
1k views

I discovered an issue with our Laravel project during a fresh installation. When I cloned the entire project and created the env file, I proceeded to install Sail containers and the existing Composer ...
Davood Ghanbarpour's user avatar
0 votes
0 answers
942 views

I have next setup: PHP 8.1 Redis 7.0.11 - latest version phpredis 5.3.7 - latest version When I try to instantiate Redis class like this: $redis = new Redis([ 'host' => '127.0.0.1', 'port'...
Acidon's user avatar
  • 1,334
1 vote
0 answers
1k views

lighttpd 1.4.69, PHP-fpm 8.2.3, debian 11, 10.5.18-MariaDB, php-redis 5.3.7 - compression lz4 All packages are installed via apt object cache pro wordpress plugin php info igbinary support - enabled ...
rusborder's user avatar
0 votes
1 answer
541 views

I am working on replacing Redis with KeyDB in my application, in order to utilise the KeyDB EXPIREMEMBER feature. However, this method is not included with PHPRedis. Is there a KeyDB drop-in ...
John Rix's user avatar
  • 6,723
2 votes
1 answer
3k views

I'm using Upstash Redis with TLS connection, but I'm always getting connection lost, redis exception, timed out 2 minutes, when trying to connect to Redis. If I use TCP, it works fine. Using localhost,...
wanna_coder101's user avatar
1 vote
0 answers
336 views

Running my application inside a redis cluster and I stumbled about a strange issue: dd(Redis::connection('default')->scan('0', [ 'match' => 'my_application_cache_*', 'count' => 999, ])...
gamedev's user avatar
  • 105
2 votes
0 answers
280 views

I am using redis for cache. Is caching of javascript and css possible in redis server? I am trying to cache my css file in redis
Dev Mishra's user avatar
1 vote
0 answers
1k views

How can I use different Redis connection with Laravel and phpredis, however, I followed the laravel documentation using-multiple-redis-connections but whenever I call this connection it always return ...
Judge Jules's user avatar
0 votes
0 answers
223 views

I have a project based on drupal 6. I installed php5.6 and redis and php-redis on ubuntu. Now, when I run my project, faced 'Class 'Predis\Client' not found in'. also my redis config in setting file ...
mohammad nabipour's user avatar
0 votes
1 answer
422 views

I have some code running on my website that uses API calls to pull events from a calendar and show them on my website. The code is fairly simple overall, and works well, however to prevent the code ...
Darien Chaffart's user avatar
1 vote
1 answer
6k views

i'm using predis integrated with laravel, in some case predis got connection timeout, but when i'm trying to connect redis server via cli, i got connected perfectly can anyone help me how to resolve ...
ALji's user avatar
  • 13
0 votes
0 answers
434 views

I am running on docker and nginx and Laravel log keeps giving redis not found error while running. My Configurations: file .env: CACHE_DRIVER=redis SESSION_DRIVER=redis MEMCACHED_HOST=127.0.0.1 ...
Bình Nguyễn's user avatar
36 votes
7 answers
70k views

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('...
Aayush Dahal's user avatar
  • 1,232
0 votes
1 answer
740 views

The official website said that Strings are binary safe, but it did not mention other types. So...
LI XiangChen's user avatar
1 vote
1 answer
8k views

phpredis returns "Couldn't map cluster keyspace using any provided seed" error when trying to connect to AWS ElasticCache for Redis cluster with tls/ssl turned on. Everything is working fine ...
Rajdeep D's user avatar
  • 3,920
0 votes
1 answer
7k views

I installed Redis-cache in my windows machine,after successfully installed i open reddis-cli in that i run service redis_6379 status it's showing following error (error) ERR unknown command 'service' ...
Devops Training's user avatar
1 vote
2 answers
4k views

I have an application where the backend data store is Redis. This application (interface) provides users with a table that must support searching, pagination, sorting and filtering. My Redis design ...
Crayons's user avatar
  • 2,176
1 vote
1 answer
312 views

I thought, surely there must be php developers out there who use redisSearch. I have only seen two packages for this RedisSearch-php by Ethan Hann and php-redisearch by MCFJA. They return empty ...
Moziz Carayol's user avatar
0 votes
2 answers
3k views

We are upgrading from ubuntu 14 to ubuntu 16, but are encountering problems installing php-redis. We're trying to get php-redis for php 5.6 but php-redis for php8.0 is being installed instead. When ...
Edward's user avatar
  • 1
0 votes
1 answer
1k views

I installed Redis-server and PHP-Redis, as well as PHP-igbinary on my hardware but it seems that my xampp php_info() does not show me the extensions as if it did not take into account my installations....
Axel Maggiochi's user avatar
1 vote
0 answers
2k views

I have a PHP app with 200 req/sec with a session table on MySQL with lastactivity, so I have to update it on every request. This keeps our MySQL server really busy so I decided to use REDIS to store ...
Mojtaba Sayari's user avatar
2 votes
1 answer
8k views

I'd like to install php7.4-redis on my debian server. My php is 7.4 version. When I run the "sudo apt install php7.4-redis" command , it shows 404 not found so I can't finish my setting. ...
翁啟豪's user avatar
2 votes
1 answer
6k views

i'm trying to enable Horizon on Laradock but i always received this message "Please make sure the PHP Redis extension is installed and enabled" I've accessed to Workspace container to check ...
Richathon's user avatar
  • 101
0 votes
2 answers
963 views

I have setup with scalegrid redis cluster with wordpress. but my wp-engine WordPress site unable to connect with scale grid cluster for the Wp object cache plugin I am getting this issue Status: Not ...
Manish J's user avatar
  • 746
1 vote
0 answers
1k views

I have installed redis on my mac Big Sur 11.0.1 and also, I have installed MAMP. Now, I am trying to add phpredis as redis extension but I am having php error while loading redis.so file which I ...
Rabin's user avatar
  • 51
0 votes
1 answer
2k views

I'm running an application on AWS Elastic Beanstalk PHP 7.3 running on 64bit Amazon Linux/2.9.12 and I've recently starting getting the following error - Call to undefined method Redis::delete() I ...
Prathamesh Datar's user avatar
2 votes
1 answer
2k views

Hope someone can help with this as a new install of PHP and Heroku Redis This is the error I'm getting:- 2020-12-14T19:46:37.368544+00:00 app[web.1]: [14-Dec-2020 19:46:37 UTC] PHP Warning: ...
Rob Edlin's user avatar
0 votes
1 answer
2k views

PHP 7.3 Laravel 5.8 Until now I was using Predis for my cache in the Laravel project. Now I want to switch to PhpRedis. I've read it's really simple (just config changes), but I have a lot of ...
VG-Electronics's user avatar
0 votes
0 answers
1k views

Windows / Using XAMPP / PHP version 7.4.11 / php_redis.dll Thread Safe for PHP 7.4 / Redis runs with command prompt Connecting to Redis in my PHP application with $redis->pconnect('127.0.0.1', '...
Chiel's user avatar
  • 11
1 vote
0 answers
309 views

I would like to ask is there anyone knows how to set up the phpradis in Laravel with the PHP version of 7.2? I already set up radis in my project but did not manage to set up phpradis. I am using ...
Kenny's user avatar
  • 71
2 votes
1 answer
4k views

I am using Laravel with Phpredis and I've created a webhook that adds a job to the queue. I've followed the docs for the interrogation but my jobs are not being queued. .env QUEUE_CONNECTION=redis ...
Ștefan Poenaru's user avatar
1 vote
1 answer
2k views

In my Laravel application, I used to use the predis/predis package to be able to use Redis for caching. Recently as recommended in the docs I have switched to PhpRedis but part of my code that was ...
Hirad Roshandel's user avatar
2 votes
1 answer
361 views

Is there a way to extend phpredis session.save handler to call a function when garbage collection happens? ini_set('session.save_handler','redis'); //code to set an additional gc ...
Chris Muench's user avatar
  • 18.5k
3 votes
0 answers
732 views

(Code is locally tested on a mac) I've created a simple test for Redis, but it, unfortunately, fails with [1] 27996 segmentation fault: // Config in App.php // Had to rename Redis, because of the ...
Philipp Mochine's user avatar

1
2 3 4 5