LxCenter HyperVM & Kloxo Support

Forum



Members   Search      Help    Register    Login    Home
Home » Kloxo Community Support » Knowledge Base » Upgrading phpMyAdmin(No time to wait until next Kloxo update)
icon4.gif  Upgrading phpMyAdmin [message #83549] Wed, 18 May 2011 06:20 Go to next message
com2 is currently offline com2  Spain
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

Re: Upgrading phpMyAdmin [message #83552 is a reply to message #83549] Wed, 18 May 2011 07:18 Go to previous messageGo to next message
mustafaramadhan is currently offline mustafaramadhan  Indonesia
Messages: 5675
Registered: December 2010
Location: Yogyakarta
Super Grandmaster
Forum Moderator

Why not set to 'announcement' or 'sticky', rene?

http://download.lxcenter.org/kdev.png
..:: MRatWork ::..
Server/Web-integrator - perfect not always more useful

--- Need KVM/OpenVZ VPS? - click here (Kloxo-MR READY!) ---

For bug/feature/security - Member rank status

http://download.lxcenter.org/hdev.png
Re: Upgrading phpMyAdmin [message #83571 is a reply to message #83552] Wed, 18 May 2011 12:46 Go to previous messageGo to next message
semir is currently offline semir  Hungary
Messages: 976
Registered: January 2011
Location: Hungary
Senior Master
Forum Moderator
LxCenter Evangelist
Veeeeeeeeeerrrrrrryyyyy good Smile

ProfiVPS.com Cheap VPS hosting! Buy it from me Smile
ProfiVPS.hu Megbízható, Olcsó VPS bérlés, Virtuális szerver bérlés

If I helped you, please consider putting my link on your site/blog! Thank you in advance Smile
Re: Upgrading phpMyAdmin [message #83581 is a reply to message #83552] Wed, 18 May 2011 14:15 Go to previous messageGo to next message
com2 is currently offline com2  Spain
Messages: 1120
Registered: August 2007
Location: Spain
Senior Master
Developer
mustafaramadhan wrote on Wed, 18 May 2011 17:18
Why not set to 'announcement' or 'sticky', rene?

Simply, because I don't have to rights to do so.
Re: Upgrading phpMyAdmin [message #83583 is a reply to message #83581] Wed, 18 May 2011 14:53 Go to previous messageGo to next message
mustafaramadhan is currently offline mustafaramadhan  Indonesia
Messages: 5675
Registered: December 2010
Location: Yogyakarta
Super Grandmaster
Forum Moderator

com2 wrote on Thu, 19 May 2011 01:15
Simply, because I don't have to rights to do so.

Sorry. I do not think that far. Embarassed


http://download.lxcenter.org/kdev.png
..:: MRatWork ::..
Server/Web-integrator - perfect not always more useful

--- Need KVM/OpenVZ VPS? - click here (Kloxo-MR READY!) ---

For bug/feature/security - Member rank status

http://download.lxcenter.org/hdev.png
Re: Upgrading phpMyAdmin [message #83831 is a reply to message #83583] Sat, 21 May 2011 10:34 Go to previous message
LxCenter_Danny is currently offline LxCenter_Danny  Netherlands
Messages: 2068
Registered: July 2007
Location: Netherlands
Grandmaster
LxCenter Core Team Member
LxCenter Representative

Sometimes its worth to wait a few days....
3.4.1 released yesterday.

Also, thirdparty software don't have to wait for a new Kloxo release if no config files changes are needed. Thirdparty software can be released whenever it is needed and you get it with upcp/cleanup script.




LxCenter - System Operations
Previous Topic:pureftpd
Next Topic:Fixing Horde's addressbook
Goto Forum:
  


Current Time: Thu May 23 00:09:25 EDT 2013

Total time taken to generate the page: 0.01096 seconds
.:: Contact :: Home :: Privacy ::.

Click here to lend your support to: LxCenter and make a donation at www.pledgie.com !

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software