Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

fbmfbm's avatar

session try to record file in root !!

I'll I'm updating app from 5.4 to 5.8 and i'm facing strange trouble with file session recording. The app try to write session file in system root ("/xxxxxx") but the file path in session config is configured to file_entry' => storage_path('framework/sessions'),..... !

I'm using laravel_Cas with laravel auth but don't think that session is overrrided by them.

???

thank's for your help

0 likes
4 replies
fbmfbm's avatar

yes, I cleared the cache and the config to. Session with cookies work well but I need to use file for security and it's working before the update. I don't use proxy but the update process change TrustedProxy. Can this make trouble to path sys ?

Sinnbeck's avatar

I just did the same update and had no issues. But be sure to check that the syntax of your config files are correct

fbmfbm's avatar

Thank's Sinnbeck. I'll double check the config fill but i think it's ok as i alreaydy check it.

Please or to participate in this conversation.