PDA

View Full Version : Upgrade phpmyadmin



ArielHost
11-16-2005, 10:00 AM
How can I upgrade the phpmyadmin on my server (FreeBSD 5.4) to phpMyAdmin 2.6.4-pl4 without breaking anything?

floris
11-16-2005, 01:28 PM
Easiest and safest way:

cd /usr/local/directadmin/scripts
vi phpMyAdmin.sh
VER=2.6.4-pl4
./phpMyAdmin.sh

Floris

jmstacey
11-16-2005, 06:07 PM
There is also a web interface now:
http://www.directadmin.com/forum/showthread.php?s=&threadid=10406

bigboy
12-26-2005, 06:36 AM
help

phpMyAdmin 2.6.4-pl4 need down grade phpMyAdmin 2.6.0-pl3

floris
12-26-2005, 09:40 AM
why do you want to downgrade?

bigboy
12-26-2005, 09:56 AM
why do you want to downgrade?


2.6.4 cannot support thai lang

floris
12-26-2005, 01:34 PM
Ok. Fair enough. Just use this script:



#!/bin/sh

cd /var/www/html

VERSION=2.6.0-pl3

wget http://surfnet.dl.sourceforge.net/sourceforge/phpmyadmin/phpMyAdmin-$VERSION.tar.gz
tar xzf phpMyAdmin-$VERSION.tar.gz
rm -fr phpMyAdmin phpMyAdmin-$VERSION.tar.gz

find phpMyAdmin-$VERSION -type f -exec chmod 640 {} \;
find phpMyAdmin-$VERSION -type d -exec chmod 750 {} \;
chown -R apache:apache phpMyAdmin-$VERSION
ln -s phpMyAdmin-$VERSION phpMyAdmin

perl -pi -e 's/(..auth_type..\s*=\s*.)config/${1}http/' phpMyAdmin/config.default.php
perl -pi -e 's/(PmaNoRelation_DisableWarning..\s*=\s*)FALSE/${1}TRUE/' phpMyAdmin/config.default.php

exit 0

bigboy
12-26-2005, 05:50 PM
Thank you :D sir

albatroz
12-31-2005, 10:52 AM
This downloads the tar.gz
then what?
tar xzvf ¿?


Originally posted by floris
Easiest and safest way:

cd /usr/local/directadmin/scripts
vi phpMyAdmin.sh
VER=2.6.4-pl4
./phpMyAdmin.sh

Floris

jmstacey
12-31-2005, 05:03 PM
The DirectAdmin script should download, extract, and install phpMyAdmin.

bigboy
01-02-2006, 05:55 PM
albatroz

Thank