We all know that updates to Synology Packages are moving in slow motion. Lately phpMyAdmin has released some very important and indispensable security updates. Synology will update its Package in a few months and, until then, we will be “vulnerable” with this outdated phpMyAdmin version.
We must be calm because, fortunately, there is a solution for us, that is, to do a manual update of phpMyAdmin bypassing the Synology Package Center. In this short guide I will explain step by step how to upgrade the current version of phpMyAdmin installed through the Synology Package to the “latest” official version.
STEP 1
Please Support My work by Making a Donation.
STEP 2
Download the latest version of phpMyAdmin from the official website. Overwrite whole phpMyAdmin folder except file config.inc.php with the new files previously downloaded. Download the config.ini.php file in a safe place and re-embed it in the phpMyAdmin folder once you have overwritten the old folder files.
STEP 3
Once you have installed the latest version of phpMyAdmin you will see an error message in the admin phpMyAdmin dashboard when you log in:
“The $cfg[‘TempDir’] (./tmp/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.”
STEP 4
Do not worry because below you will find instructions to solve this problem. First of all, right click on the phpMyAdmin folder, then click on Properties.
STEP 5
Once you have installed a new version of phpMyAdmin it will lose Permission. All you have to do is give back the appropriate Permission to the “SYSTEM” (Read and Write) to make the error disappear forever. Remember that the error could happen again every time you update manually phpMyAdmin but now you know the solution. So, to make it clear, go to the phpMyAdmin folder that you will find on the web / phpMyAdmin and right click on it then click on Properties. Then go to Permission/Create and type “SYSTEM”; this way you give the SYSTEM permission to Read and Write and save the settings. Follow the instructions in the image below.
STEP 6
Now, reload phpMyAdmin and the error message will disappeared.
STEP 7
Remember that, although in the Package Center you may see the “old” version of phpMyAdmin, you will actually have the latest version.
Every time you want to do a manual update of phpMyAdmin you will know how to do it by following this simple guide step by step.
This post was updated on Thursday / August 6th, 2020 at 3:11 AM