找到php.ini 修改 session.gc_maxlifetime = 10800 session.cookie_lifetime =10800 检查页面,然后看到application 里session 有时间限制,就代表成功了。