Migrating symfony apps to php 7 with no success.
Symfony 2.8:
Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/var/lib/php/sessions)
Symfony 3.1:
Warning: session_regenerate_id(): Session object destruction failed. ID: user (path: /var/lib/php/sessions)
Now from the message I would guess php is trying to write sessions to files.
native_file
handler - everything works.I do not know how to make any sense from this. All answers I found to similar problems include switching from native_file to memcached (already using it), changing user and/or permissions for session dir (does not matter?), updating session handler to return true from some methods (updated and checked).
Use$ sudo service memcached start
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With