Page 1 of 1

Upgrading PHP and Mysql Plesk 6.0.1

Posted: Wed Dec 20, 2006 10:42 am
by zaheersk
Greetings All,

Here we go general info....

Currently running Plesk 6.0.1
Redhat 9.0

PHP : 4.2.2.

MySQL : 3.23.58


Want to upgrade php and mysql to PHP 4.3.3 or greater and MySQL 4.0.16.
without breaking my plesk. Any advivce? what all should I backup before we upgrade..

Thanks

Posted: Wed Dec 20, 2006 2:37 pm
by breun
I don't think Plesk 6 supports MySQL 4. I'm not sure, but I do know you'll need at least Plesk 7.5.4 to use MySQL 4.1 (and Plesk 8.1.0 for MySQL 5).

You might want to look at migrating to a new server though, I believe both RH 9 and Plesk 6 are not receiving security patches anymore.

Posted: Thu Dec 21, 2006 3:13 pm
by scott
You can do mysql 4.0 on PSA 6.0, provided its the one from my archive. If you use the one from mysql.com I believe it will break on deleting domains, or SSL certs.

Posted: Tue Jan 16, 2007 2:56 am
by zaheersk
Thanks scott.

Can you provide me some information/link as to how i can upgrade the mysql and php.

Posted: Tue Jan 16, 2007 8:06 am
by scott
I think I've got 4.0.25 still kicking around in the atomic channel. You'll have to download the rpms direct and install them that way. I dont believe you can specify versions with yum.

Posted: Tue Jan 16, 2007 8:14 am
by breun
From man yum:
A package can be referred to for install,update,list,remove etc with any of the following:

name
name.arch
name-ver
name-ver-rel
name-ver-rel.arch
name-epoch:ver-rel.arch
epoch:name-ver-rel.arch

For example: yum remove kernel-2.4.1-10.i686

Posted: Wed Jan 17, 2007 5:11 am
by zaheersk
Hi,

Below is the yum config file

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
retries=20
obsoletes=1
gpgcheck=1

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/

[atomic-app-vault]
name=Atomic Rocket Turtle - $releasever - Atomic PSA App Vault RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/app-vault/

# SW-Soft Channels
[psa-6.0]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 6.0 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/


when i try to update mysql it give me an error .conflict between mysql and psa

If i understand correctly Version: 4.1.21 does not support PSA 6.0.

you are suggesting i manually download the rpm and update it.

What about PHP?

Regards,

Zaheer

Posted: Wed Jan 17, 2007 10:32 am
by scott
Thats a safety check to keep you from breaking your system, if you do upgrade to 4.1 on a PSA 6 system, then parts of PSA wont work any more.