Solved phpMyAdmin upgrade

Running FreeBSD 11.3 and I thought it was about time to upgrade phpMyAdmin from 4.9.4 to 5.0.2.

Looking around the internet for the best way to do this I only came across one that suggested to rename the /usr/local/www/phpMyAdmin directory and then install 5.0.2

However having never done this before I thought I would ask here if there is a better way.
 
Just run pkg-upgrade(8) to upgrade it. No need to do anything special.

Edit: Oh, wait. That will keep it on 4.x actually. If I look at databases/phpmyadmin5 I suspect it actually installs in /usr/local/www/phpMyAdmin5. So your 'old' directory should be fine, but no harm in making a backup copy of it, just to be sure.
 
Thanks SirDice.

Upgrade went nice and smoothly. Copying the config file from the old version saved a lot of time as well.
 
Back
Top