Created
January 27, 2019 11:13
-
-
Save sleepm/9c41b570c2810309370d8155edab5b35 to your computer and use it in GitHub Desktop.
manually update phpMyAdmin
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
wget https://files.phpmyadmin.net/phpMyAdmin/"$1"/phpMyAdmin-"$1"-all-languages.zip | |
unzip phpMyAdmin-"$1"-all-languages.zip | |
if [ -f 'phpmyadmin/config.inc.php' ]; then | |
cp phpmyadmin/config.inc.php phpMyAdmin-"$1"-all-languages/ | |
fi | |
rm -rf phpmyadmin | |
mv phpMyAdmin-"$1"-all-languages phpmyadmin | |
chown -R www-data:www-data phpmyadmin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment