How do I update phpMyAdmin on Debian 9

Discussion in 'Installation/Configuration' started by Kemp, Jul 15, 2019.

  1. Kemp

    Kemp New Member

    Hi,

    How do I update phpMyAdmin to the latest version 4.9.0.1 on Debian 9 for ISPConfig 3.1.14p1?

    Thank you!
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    I would assume PHPMyadmin 4.9 does not work on Debian Stretch, and my guess is ISPConfig on Stretch does not work correctly with 4.9 PHPMyadmin, especially one installed from outside Debian in non standard location and different setup.
    However, if you have a test system to experiment on you can for example try the method in ISPConfig Perfect Server Guide for Debian Buster, https://www.howtoforge.com/perfect-...stall-phpmyadmin-database-administration-tool. But like I wrote, it probably does not work.
    If you do get it working, please write here instructions on how to do it and reason why it is necessary.
    An alternative is to follow Debian PHPmyAdmin team and maybe even help, they are working on getting 4.9 on Debian.
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=916310https://tracker.debian.org/pkg/phpmyadmin
    https://salsa.debian.org/phpmyadmin-team
     
  3. Kemp

    Kemp New Member

    Is it possible to simply upgrade using this: tracker.debian.org/action-items/776413

    Thank you!
     
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. Kemp

    Kemp New Member

    The current installed phpMyAdmin version is 4.6.6
    When I move the new version to /usr/share/phpmyadmin it works fine but it's looking for previous config.inc.php, the previous version config.inc.php seems to be under /etc/phpmyadmin, how can I tell the new phpmyadmin version to use the previous config.inc.php
     
  6. ahrasis

    ahrasis Well-Known Member

    If you want that you can simply copy or symlink it.
    Code:
    cp /etc/phpmyadmin/config.inc.php /usr/share/phpmyadmin/
    
    OR
    
    ln -s /etc/phpmyadmin/config.inc.php /usr/share/phpmyadmin/config.inc.php
    You can also use composer to install a fresh phpmyadmin or to update its library (for version 4.7 above).

    I personally make a backup copy and simply overwrite with the latest one thereafter.
     
  7. Kemp

    Kemp New Member

    It works, thank you!
     

Share This Page