Upgrading phpMyAdmin [message #83549] |
Wed, 18 May 2011 06:20  |
com2  Messages: 1120 Registered: August 2007 Location: Spain |
Senior Master Developer |
|
|
You have discovered dangerous security bugs in phpMyAdmin and you don't want to wait until phpMyAdmin is updated in Kloxo? I just decided to write this instruction to help some that might need it.
To do this you need ssh root access to your Kloxo server. If you have slaves you need to repeat the procedure on each slave.
- Download the latest version of phpMyAdmin
cd /usr/local/lxlabs/kloxo/httpdocs/thirdparty
wget http://kent.dl.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.4.0/phpMyAdmin-3.4.0-all-languages.tar.gz
- Unpack it
tar xvfz phpMyAdmin-3.4.0-all-languages.tar.gz
rm -f phpMyAdmin-3.4.0-all-languages.tar.gz
- copy the config file over
cp phpMyAdmin/config.inc.php phpMyAdmin-3.4.0-all-languages
- rename the old folder and the new folder
mv phpMyAdmin phpMyAdmin.old
mv phpMyAdmin-3.4.0-all-languages phpMyAdmin
- change the owner of the new folder
chown -R lxlabs phpMyAdmin
Please note that the old phpMyAdmin is not deleted and in case something fails you can recover it by renaming the folders back:
mv phpMyAdmin phpMyAdmin-3.4.0-all-languages
mv phpMyAdmin.old phpMyAdmin
Also note that this instruction is only for the present recommended version of phpMyAdmin. With later versions you will have to update the version numbers in the paths.
[Updated on: Sun, 22 May 2011 15:26] by Moderator Report message to a moderator
|
|
|
|
|
|
|
|