How do I update phpMyAdmin on Debian 9

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

  1. Kemp

    Kemp Member


    How do I update phpMyAdmin to the latest version 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, 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.
  3. Kemp

    Kemp Member

    Is it possible to simply upgrade using this:

    Thank you!
  4. Taleman

    Taleman Well-Known Member HowtoForge Supporter

  5. Kemp

    Kemp 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, the previous version seems to be under /etc/phpmyadmin, how can I tell the new phpmyadmin version to use the previous
  6. ahrasis

    ahrasis Well-Known Member HowtoForge Supporter

    If you want that you can simply copy or symlink it.
    cp /etc/phpmyadmin/ /usr/share/phpmyadmin/
    ln -s /etc/phpmyadmin/ /usr/share/phpmyadmin/
    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 Member

    It works, thank you!

Share This Page