Lumen + Redis : Connection Reset
Were trying to add Redis to our Lumen installation. Since I've never used it I went a head and installed Redis on my machine. I have the server running locally and I can use redis-cli to connect to my local Redis server. I'm not using homestead or anything fancy, everything is local.
I added the required packages in Composer : "predis/predis": "^1.0", "illuminate/redis" : "5.1.*", I also enabled facades and registered the RedisServiceProvider. As far as configuring it, I left the default server name and port number in app.php.
I have the following route :
$app->get('/redis', function () use ($app) { Redis::set('name', 'George'); return 'Hello World'; });
When I attempt to load 127.0.01/redis, firefox returns "The connection was reset". I looked at the apache err logs and I see that apache is crashing : [Tue May 17 15:07:21.229091 2016] [core:notice] [pid 14583] AH00051: child pid 14887 exit signal Segmentation fault (11), possible coredump in /etc/apache2
I don't know what my next step would be. If I remove the Redis:: line from my route everything works correctly.
Please or to participate in this conversation.