Debian 8: How to update phpMyAdmin to latest stable version and use php 7.1?

Discussion in 'ISPConfig 3 Priority Support' started by hsluis, Feb 5, 2017.

  1. hsluis

    hsluis New Member

    Hello team!
    I'm tried to update phpmyadmin to latest stable version (4.6.6), my server have the version 4.2.12deb2+deb8u2. (Debian 8 updated).

    I followed the next instructions:
    cd /tmp/
    tar xzf phpMyAdmin-4.6.6-all-languages.tar.gz
    mv /usr/share/phpmyadmin/ /usr/share/phpmyadmin2/
    mv phpMyAdmin-4.6.6-all-languages /usr/share/phpmyadmin
    ls -l /usr/share/phpmyadmin
    service apache2 restart
    service mysql restart
    My problem is:
    The new phpmyadmin version don't read the /etc/phpmyadmin/ configuration. The reason to using /etc/phpmyadmin/ is to no be to change files over every update version.

    And I want to use PHP 7.1 over the PHP version 5.6.29-0+deb8u1 (default php version on apache), I have all ready instaled PHP 7.1 using the tutorial:

    The lastest phpMyAdmin version:

  2. till

    till Super Moderator Staff Member ISPConfig Developer

    I would install phpmyadmin in a separate website, e.g. in a subdomain like phpmyadmin.yourdomain.tld if you want to use the latest version instead of overwriting the version that ships with Debian.

    Regarding PHP 7.1, when you followed that guide then you can select PHP 7.1 in the website settings for the site where you want to use it now. The system PHP should stay at the version that ships with Debian, otherwise ISPConfig will stop working on your server.
  3. hsluis

    hsluis New Member

  4. till

    till Super Moderator Staff Member ISPConfig Developer

    It might work. Personally, I won't do that on my servers as it is likely to break your system sooner or later when you install Debian updates.

Share This Page