• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

How do I update MySQL & PHP?

Z

Zoke

Guest
I know the question has been asked quite a few times already and haven't really found the answer yet. I use RH9 and use up2date, not Yum. How do I change up2date to use the atomic packages or which command should I use to install Yum is that's better to use to update these packages with?

I found this thread helpful:
http://forum.swsoft.com/showthread.php?s=&threadid=32201
But could anyone explain how to install Yum (is it an rpm command?) or how to change up2date so it will update the atomic packages? Thanks :)
 
Yeah, I just linked it too, thanks though. :) I have this as /etc/yum.conf:

[main]
cachedir=/var/cache/yum
debuglevel=2
logfile=/var/log/yum.log
pkgpolicy=newest
distroverpkg=redhat-release
tolerant=1
exactarch=1
exclude=kernel*

[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://download.fedoralegacy.org/redhat/$releasever/os/$basearch
gpgcheck=1

[updates]
name=Red Hat Linux $releasever - $basearch - updates
baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates/$basearch
gpgcheck=1

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/

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

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

and it gives this error message when I type "yum update":

Gathering header information file(s) from server(s)
Server: Atomic Rocket Turtle - 9 - Atomic PSA-Compatible RPMS
Server: Atomic Rocket Turtle - 9 - Atomic PSA App Vault RPMS
Server: Red Hat Linux 9 - i386 - Base
Server: Atomic Rocket Turtle - 9 - SW-Soft PSA 6.0 RPMS
Server: Red Hat Linux 9 - i386 - updates
Finding updated packages
Downloading needed headers
Resolving dependencies
.conflict between mysql and psa


Any ideas? Do I need Plesk 7 at least for this?
 
with yum -d 6 update I get this error:

# of Deps = 3
debug dep: php req php-pear - None - 0
php wants RPMS/php-pear-5.0.4-13.rh90.art.i386.rpm
Best version for php-pear is 1:5.0.4-13.rh90.art
1, 5.0.4, 13.rh90.art vs 1, 5.0.4, 13.rh90.art = 0
bestarch = i386 for php-pear
Got dep: php-pear, i386
debug dep: mysql req psa - 7.5.4 - 1
conflict: mysql psa 7.5.4
debug dep: perl-DBD-MySQL req libmysqlclient.so.10 - None - 0
perl-DBD-MySQL wants RPMS/mysql-compat-4.1.21-2.rh90.art.i386.rpm
Best version for mysql-compat is 0:4.1.21-2.rh90.art
0, 4.1.21, 2.rh90.art vs 0, 4.1.21, 2.rh90.art = 0
bestarch = i386 for mysql-compat
Got dep: mysql-compat, i386
Restarting Dependency Loop
.conflict between mysql and psa

Seems like I need to update plesk 6 to 7.5.4 to get it to work?
 
Thanks. How do I look up whether my License allows me to upgrade to this version without losing my key? I'm testing it on my vmware system now which has no license, everything is going ok so far, except for the license thing which I can't test.
 
Ask the people from who you obtained your key. My guess is you'll need to upgrade your license, but I've never used Plesk 6.
 
I've updated Plesk to 7.5.4 and when I try to load "yum update" it will always break my vmware system. Just doing "yum update php" without all the other updates already breaks apache. This is my yum.conf:

[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://download.fedoralegacy.org/redhat/$releasever/os/$basearch
gpgcheck=1

[updates]
name=Red Hat Linux $releasever - $basearch - updates
baseurl=http://download.fedoralegacy.org/redhat/$releasever/updates/$basearch
gpgcheck=1
enabled=0

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/art/$releasever/
gpgcheck=1

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

[psa-7.5]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomic/psa-7.5/$releasever/
gpgcheck=1
(tried with enabled=1 too but no difference)

I can get apache fixed by renaming /etc/httpd/conf.d/php.conf.rpmnew to /etc/httpd/conf.d/php.conf and /etc/php.ini.rpmnew to /etc/php.ini and doing "yum update curl".

First, why wouldn't it find curl as depency when updating php? And, is there any way to prevent these rpnnew files and have it backup the old ones to replace it with the new file? Also, apache will load after this but php pages will just show up as code so it's not actually fixed.
 
I get the same result when I do everything listed on this page.

yum remove php-manual (wasn't installed)
yum upgrade
yum install php-gd

mv /etc/php.ini /etc/php.ini.v4
mv /etc/php.ini.rpmnew /etc/php.ini
mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php.conf.v4
mv /etc/httpd/conf.d/php.conf.rpmnew /etc/httpd/conf.d/php.conf

Apache starts but it won't actually process PHP pages, it will just show the code.
 
<?php phpinfo(); ?>

This gives an empty page, if that helps any. So pages are processed, kind of. Does anyone have any suggestions?
 
in this new php.conf "/etc/httpd/conf.d/php.conf" this line needs to be changed/added to get it working:

AddType application/x-httpd-php .php .phtml
 
Back
Top