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

franvillada's avatar

Session driver cookie not working (Internal Server Error - 500)

I was using file session driver but it works ok in my localhost environment but when i publish in a share host it didint work properly.

So i try to switch to cookie session driver by setting it in the .env file and also in the config session file. I clear the cache, regenerate de key and when i try to login into the app i got a Internal Server Error - 500

Someone knows what can be the issue?

0 likes
1 reply

Please or to participate in this conversation.