Longer php sessions in Ubuntu
I just realized that the sessions of my web-apps were closing very rapidly, I had to login again every time I wanted to check my RSS (Leed) , my blog (Blogotext) or my links (Shaarli).
After some DDG search I managed to change the maximum lifetime of my sessions to remain connected for a longer period.
To do so open a terminal and run the following command
cd /usr/lib/php5/
You should see a file called maxlifetime, open it and modify the value of the max parameter (this value is in second). I changed it to 259200.
If you don’t see the maxlifetime file, you can search for it by running
dpkg -L php5-common
Enjoy your web-apps without repetitive disconnections 😉
Source: New feed