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:)
Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/tmp)
(using the native session support:)
Warning: session_write_close(): Failed to write session data (user). Please verify that the current setting of session.save_path is correct (/[...]/app/cache/dev/sessions)
the problem seems to be symfony related, because php has read / write access to the folder.
if i run nothing but this code, it works:
session_start();
$_SESSION['x'] = 4234;
session_write_close();
any suggestions or ideas why symfony fails to write the sessions?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…