Shellscript to update your phpMyAdmin installation automatically via cron
Branch: master
Clone or download
Latest commit cd0758b Feb 15, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore added files Oct 23, 2014
LICENCE Licence May 8, 2013 Merge pull request #12 from artifex404/master Jan 15, 2015 Formatting code Feb 9, 2017 Formatting code Feb 9, 2017

phpMyAdmin updatescript for your shell

This script will update your current phpMyAdmin to the latest version directly from your shell.


  • wget
  • tar


Copy the script to any location of your machine.
IMPORTANT: You need to edit the script to set the correct settings.

If you want to install a cronjob, run



Open the file and edit the variables LOCATION, PMA. If you set f.e. LOCATION="/var/www" and PMA="pma" your PMA installation will be installed into "/var/www/pma".

If you want, change the compression type - "tar.gz" and "tar.bz2" are possible.

User based settings

Instead of changing the settings in the script, you can place the variables in a user based .pma-updaterc file in the home folder from the user this script runs as.


For updating phpMyAdmin to the latest version, execute the shell script like this:


If you want to install a specific version

sh -r 3.5.0

More options

sh [-hvf] [-r version]  
-h    this help  
-v    output all warnings  
-f    force download, even if this version is installed already  
-r version    choose a different version than the latest.