I have a zend 2.6 application running on AWS Elastic Beanstalk using he AWS Redis cache for the session storage, and I would like to migrate that to using the PHP rediscluster -- I had been using the phpredis extension for the non-cluster mode but I'm having some trouble figuring out the proper configuration to switch to the rediscluster.
my phpinfo() reports having both redis and rediscluster as registered save handlers, and the code in zend-session/src/Config/SessionConfig suggests that setting phpSaveHandler might work, or to include any other session.* PHP environment values (perhaps 'save_path' => 'tcp://clusterthing:6379' -- which didn't work) -- I have seen other examples for php suggesting that save_path can be set with node= values for each of the nodes, but in AWS you are only given the one seed address, and even when I use an array with the IP for each, I still get the redis 'MOVED' response to redirect me elsewhere. The AWS pages themselves only cover set-up with the redis cluster mode switched off.
is there a known solution for all this?
For programming and general questions on Zend Framework
1 post • Page 1 of 1