Support the ongoing development of Laravel.io →
Configuration

Where to set the PHP Session setting in homestead? I run normal php script, and I had set

ini_set('session.gc_maxlifetime', 72460*60);

But it seem like 30 minutes will lost the session. May I know where homestead default setting for php session timeout?

Thanks

Last updated 3 years ago.
0

I think it is not related to gc_maxlifetime issue should be something cache issue. Anyone have similar issue?

0

Sign in to participate in this thread!

Eventy

Your banner here too?

shiroamada shiroamada Joined 13 Mar 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.