PhpMyAdmin
Zur Navigation springen
Zur Suche springen
Upgrading phpMyAdmin
As the distribution packages do not always provide the newest release these are the steps to upgrade manually.
1. Rename existing phpMyAdmin directory
mv /usr/share/phpmyadmin /usr/share/phpmyadmin-old
2. Create new directory
mkdir /usr/share/phpmyadmin
3. Download and extract phpMyAdmin archive
wget -qO- https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.tar.gz | tar -xzvf - -C /usr/share/phpmyadmin --strip-components=1
4. Create directory for temporary files used by phpMyAdmin
mkdir /usr/share/phpmyadmin/tmp && chown www-data:www-data /usr/share/phpmyadmin/tmp
5. Copy original config file to new directory
cp -r --preserve=all /usr/share/phpmyadmin-old/config.inc.php /usr/share/phpmyadmin
6. Remove directory containing the old version
rm -rf /usr/share/phpmyadmin-old