The question is, i am having a problem with session using Docker with Nginx + Yii2 + Redis. I want use same login on banckend and frontend in Yii2 advanced template. I just configured all its ok, its work when i do not use Redis, but when i use Redis, dont work. My configuration is: Yii2 advanced 2.0.43 Nginx 1.17.8
Tag: redis
Handle Method not being called in Laravel Redis Queue
When adding an item to the queue, for some reason the handle method is not being called. The Log entry in __construct is appearing but when attempting to log in handle(), nothing appears. The method i’m using to dispatch is ProcessImport::dispatch($path, $task->task_id); My queue service is configured to use Redis, and redis is storing all the data accordingly. I am
Warning: session_start(): Cannot find save handler ‘redis’
I want to set php.ini to use Redis as session handler. I did it this way: My Php application and Redis are running in 2 different containers. This is the code I’m trying to run in Php: Due to my searchs I found that I should install: but E: Unable to locate package php5-redis I’ve also tried: php-redis, php7-redis, php7.4-redis
Laravel Redis Jobs are not Being Queued
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 config/database.php ‘client’ => env(‘REDIS_CLIENT’, ‘phpredis’), config/queue.php I am using Windows with Xampp and redis-server.exe is running. This is what I am getting when the job is
jobs failed table using redis as queue driver in the Laravel
I’m using Redis as a Queue Driver for my jobs, but the failure table receives a specific driver configuration in the config / queue.php file, which left me a little confused. Because even setting …
Dockerfile | Alpine | Nginx | php7 | MongoDB | Redis
I am looking for a Dockerfile which has Nginx, Php7, MongoDB & Redis enabled on Alpine. Managed to get below but while executing it I see below errors. Please suggest. Dockerfile:- Error:- /bin/sh: docker-php-source: not found /bin/bash: pecl: command not found Referred:- https://github.com/TrafeX/docker-php-nginx/blob/master/Dockerfile After commenting from line 2 to line 10, I managed to get Nginx running but In logs
Symfony 5 book the fast track: Is redis necessary for installing guestbook
I am trying to launch the “guestbook” web app from the “Symfony 5: the fast track” book. I check that all is well installed by taping the following command: symfony book:check-requirements and all is ok. But when I launch the local web server and the guestbook web site with: symfony open:local I got the following error on my web page:
Laravel 5.7 – Queues Jobs are too slow
I use Laravel 5.7 and 3 queues jobs, the time between jobs is too long/slow. I foreach items of RSS feeds in the first job, and I dispatch this item in second job, etc… I don’t enter in details but there are some ridiculous little calculations that must not take time. The problem is that every dispatch to a job
using SncRedisBundle on platform.sh
I’m trying to get my app hosted by platform.sh, my problem is that I use SncRedisBundle, with this config: When I push to platform.sh, their build process include a call to composer update, which end like this: Generating optimized autoload files > IncenteevParameterHandlerScriptHandler::buildParameters > SensioBundleDistributionBundleComposerScriptHandler::buildBootstrap > SensioBundleDistributionBundleComposerScriptHandler::clearCache Script SensioBundleDistributionBundleComposerScriptHandler::clearCache handling the symfony-scripts event terminated with an exception [RuntimeException] An error