PhpMyAdmin: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Wulf (Diskussion | Beiträge) |
Wulf (Diskussion | Beiträge) |
||
| Zeile 18: | Zeile 18: | ||
Copy original config file to new directory | Copy original config file to new directory | ||
<syntaxhighlight>cp -r --preserve=all /usr/share/phpmyadmin-old/config.inc.php | <syntaxhighlight>cp -r --preserve=all /usr/share/phpmyadmin-old/config.inc.php /usr/share/phpmyadmin</syntaxhighlight> | ||
Remove | Remove directory containing the old version | ||
<syntaxhighlight>rm -rf | <syntaxhighlight>rm -rf /usr/share/phpmyadmin-old</syntaxhighlight> | ||
Version vom 2. September 2018, 18:46 Uhr
Upgrading phpMyAdmin
As the distribution packages do not always provide the newest release of phpMyAdmin this is how to upgrade manually.
Rename existing phpMyAdmin directory
mv /usr/share/phpmyadmin /usr/share/phpmyadmin-oldCreate new directory
mkdir /usr/share/phpmyadminDownload 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=1Create directory for temporary files used by phpMyAdmin
mkdir /usr/share/phpmyadmin/tmpchown www-data:www-data /usr/share/phpmyadmin/tmpCopy original config file to new directory
cp -r --preserve=all /usr/share/phpmyadmin-old/config.inc.php /usr/share/phpmyadminRemove directory containing the old version
rm -rf /usr/share/phpmyadmin-old