Older Plesk Versions - Upgrading phpMyAdmin to version 3.4.10.2 on Parallels Plesk for Linux 10.2/10.3.x/10.4.x

Created:

2016-11-16 12:59:46 UTC

Modified:

2017-05-15 18:25:18 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Older Plesk Versions - Upgrading phpMyAdmin to version 3.4.10.2 on Parallels Plesk for Linux 10.2/10.3.x/10.4.x

Applicable to:

  • Plesk 11.0 for Linux
  • Plesk 11.5 for Windows
  • Plesk 11.5 for Linux
  • Plesk 12.0 for Windows
  • Plesk 12.0 for Linux

Symptoms

The Parallels Plesk Service Team has prepared a script for upgrading phpMyAdmin to version 3.4.10.2 with all of the security updates. This script can be used on servers where Plesk for Linux version 10.2.x, 10.3.x, or 10.4.x is installed.

Note: If you perform a Plesk upgrade to a version below 11.0.9, the old phpMyAdmin version will be installed again. Therefore, we recommend upgrading to latest available Plesk version or performing the phpMyAdmin upgrade again as described below.

Requirements

MySQL 5.0.15 or a later version is required for phpMyAdmin 3.4.10.2.

Resolution

  1. Create a backup of the current phpMyAdmin version:

    # DUMP_D=`cat /etc/psa/psa.conf | grep DUMP_D| head -1 | awk {'print $2'}`
    # mkdir $DUMP_D/Old_phpMyAdmin
    # PRODUCT_ROOT_D=`cat /etc/psa/psa.conf | grep PRODUCT_ROOT_D | head -1 | awk {'print $2'}`
    # cp -r $PRODUCT_ROOT_D/admin/htdocs/domains/databases/phpMyAdmin $DUMP_D/Old_phpMyAdmin/
    # PHPMYADMINDB=`MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysql -u admin -e 'show databases like "phpmyadmin%"' | tail -1`
    # MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u admin ` $PHPMYADMINDB > $DUMP_D/Old_phpMyAdmin/phpmyadmin_db.dump`
  2. Download the archive with the new version of phpMyAdmin (md5sum c32ede2c9159801f74d8d1b002a7041e for file phpmyadmin_3_4_10.tar.gz ) and the installation script (md5sum 9a51e8da4a59252a73cae0b879ea408c for file pma10_install.sh ):

        # cd /usr/local/psa/var/
    # wget https://support.plesk.com/hc/article_attachments/115004516245/phpmyadmin_3_4_10.tar.gz
    # wget https://support.plesk.com/hc/article_attachments/115004544249/pma10_install.sh
  3. Run the installation script for phpMyAdmin 3.4.10.2:

    chmod u+x pma10_install.sh
    ./pma10_install.sh

    **** Package  scriptlet completed successfully.

     Trying to remove old phpmyadmin directory... done
     Trying to unpack new phpmyadmin version... done
     Trying to set permissions... done
    ===> Installing phpMyAdmin
     Trying to create pmadb... done
    done
    Restarting SWsoft control panels server... stale pidfile. ok```

Additional information

For other Plesk versions, phpMyAdmin can be upgraded with the help of the following articles:

Older Plesk Versions - Upgrade phpMyAdmin to version 3.4.10.2 on Plesk Linux 8.6/9.x

Older Plesk Versions - Upgrade phpMyAdmin to version 3.4.10.2 on Plesk Linux 10.1.x

Older Plesk Versions - Upgrade phpMyAdmin to version 3.4.10.2 on Plesk Linux 10.0.x

Attachments:

Have more questions? Submit a request
Please sign in to leave a comment.