手動昇級phpMyAdmin
1. 備份phpMyAdmin
sudo mv /usr/share/phpmyadmin/ /usr/share/phpmyadmin.bak
2. 創建新phpMyAdmin資料夾
sudo mkdir /usr/share/phpmyadmin
cd /usr/share/phpmyadmin/
3. 下載phpMyAdmin及解壓
sudo wget https://files.phpmyadmin.net/phpMyAdmin/5.2.0/phpMyAdmin-5.2.0-all-languages.tar.gz
sudo tar xzf phpMyAdmin-5.2.0-all-languages.tar.gz
將解壓後的內容搬至/usr/share/phpmyadmin
sudo mv phpMyAdmin-5.2.0-all-languages/* /usr/share/phpmyadmin
4. 解決Blowfish Secret 及 TempDir Errors
sudo nano /usr/share/phpmyadmin/config.inc.php
內容﹕
// use here a value of your choice 32 chars long
$cfg[‘blowfish_secret’] = ‘PASTE__32__CHAR__BLOWFISH_SECRET’;
(32位字串是隨時鍵入便可)