Fixing the 1440 problem in phpMyAdmin and getting rid of password for sudo in Ubuntu 14.04

Being timed out after 1440 seconds on your local dev machine is extremely annoying, here’s how to remedy that in two simple steps:

1.) Go to Home -> Settings -> Features -> Login cookie validity in phpMyAdmin and change it to 14400000

2.) Open the php.ini file: sudo gedit /etc/php5/apache2/php.ini. And change the session.gc_maxlifetime value to something like this: session.gc_maxlifetime = 14400000

In order to avoid having to type your password every time you run sudo this worked for me:

1.) Make sure you put this at the end of /etc/sudoers: your-user-name ALL=(ALL:ALL) NOPASSWD:ALL

From this article.

Related Posts

Tags: , , ,