i compiled php7 on my own (974f6c2a705). if i run php7 + php-fpm + nginx using symfony i get this error:
(using the snc redis bundle for sessions:)
I had this same issue when I moved from Apache PHP7 to PHP7-FPM. Only fix for me was to go to the var directory of my Symfony app and remove all the files there, fix the permissions on the var if needed chmod 777. Afterwards reload the URL of my app and good to go. Afterwards Symfony will re-create all the cache, logs, sessions, etc.