Upgrade to Kubuntu Karmic (9.10) from 8.04 – Part 7 – Fixing phpmyadmin

In an older post here i wrote about changing the session lifetime in phpmyadmin so that I did not have to login every 30 minutes or so. It worked a bit but stopped to work after some time.

When I upgraded to a new veriosn 9.10. I actually got a warning from phpmyadmin.

To fix the logout problem i added the following line to /etc/phpmyadmin/config.inc.php file:

This will set the valid time for login to 4 hours – that shoud be ok for me atleast. But that exseeds the max time for a cookie in php so you have to make a change to php.ini also. Change /etc/php5/apache2/php.ini with the command:

and add/change the line


This will set it to teh same as the phpmyadmin cookie validity and it will now work.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.