How to increase cakephp session time

how to increase cakephp session time if using lamp

Please read this section of the documentation in full, it explains it all: http://book.cakephp.org/3.0/en/development/sessions.html#session-configuration

Increasing Session.timeout and session.cookie_lifetime in the ini section are likely what you’re looking for.

Simple add new file with name .user.ini in app webroot folder(app/webroot/.user.ini) with content
session.gc_maxlifetime=8600