Manually Upgrade phpMyAdmin

9 ต.ค. 2020 , 1,127 Views   , หมวดหมู่ Linux MySQL โค๊ดดิ้ง   , ป้ายกำกับ:, , ,


1. Back up phpMyAdmin

Create a new phpMyAdmin folder

Change to directory

2. Download and Extract phpMyAdmin

  • For PHP 7.1 and above, download phpMyAdmin 5.x
  • For PHP 5.5 to PHP 7.4, download phpMyAdmin-4.9.5

Once extracted, list folder

You should see a new folder phpMyAdmin-5.0.2-all-languages

We want to move the contents of this folder to /usr/share/phpmyadmin

You can now log back into phpMyAdmin and check the current version. You may also see two errors:

3. Edit vendor_config.php

Open vendor_config.php

Press CTRL + W and search for TEMP_DIR

Change line  to

Press CTRL + W and search for CONFIG_DIR

Change line to

Save file and exit. (Press CTRL + X, press Y and then press ENTER)

4. Cleanup

 

ที่มา

How to Manually Upgrade phpMyAdmin


ป้ายกำกับ:, , ,