phpMyAdmin configuration

后端 未结 10 1144
刺人心
刺人心 2021-02-01 03:08
  • How do I increase phpmyadmin session timeout?
  • How do I increase phpmyadmin import file size limit(currently it says Max: 2,048KiB). I tried changing upload_
10条回答
  •  星月不相逢
    2021-02-01 03:48

    1. Edit phpMyAdmin's config.inc.php and add or update LoginCookieValidity the value as follows:

      $cfg['LoginCookieValidity'] = 3600 * 9; // 9 hours
      
    2. To upload more than 2M:

      cd /etc/php5/apache2/php.ini
      
      sudo nano php.ini
      
    3. Search for upload_max_filesize in php.ini, and change value to 64M (for 64 Mb):

      upload_max_filesize = 64M
      
    4. Save and exit.

    5. Restart apache:

      sudo /etc/init.d/apache2 restart
      
    6. Finish!

提交回复
热议问题