PHP7 (Redis) session_regenerate_id(): Session object destruction failed

I have setup a Vagrant dev environment with PHP7 running under Apache. I am running a Phalcon app I have been working on with PHP5.x. However, I am getting session errors e.g. session_regenerate_id(): Session object destruction failed. I am using the redis session handler. From what I have read, PHP7 handles sessions in a stricter way, and this may be a Redis issue. Has anyone else had similar issues? Is there a fix for this?

By the way, is giving me a blank page!


i use this and there are no problems and its in a native way.

you edit your php.ini to tell php to store sessions directly into redis. And it also written in C.

You dont need to tell your app anything.