Trying to upgrade to PHP 5 on Plesk 8.3.0

Support/Development for PHP
dumbomaz
Forum User
Forum User
Posts: 8
Joined: Fri Sep 01, 2006 10:44 am

Trying to upgrade to PHP 5 on Plesk 8.3.0

Unread post by dumbomaz »

So I've read and read and read about trying to get PHP installed. I have Plesk 8.3.0 on RHEL4. I have the atomic repositories set and am trying to update php. I can't use yum b/c of some proxy/firewall issues, but up2date seems to be running OK.

Code: Select all

up2date php --dry-run
Results in

Code: Select all

Name                                    Version        Rel
----------------------------------------------------------
php                                     5.2.5          2.el4.art         i386

Unresolvable chain of dependencies:
php-domxml-4.3.9-3.22.9                  requires php = 4.3.9-3.22.9
php-pear-4.3.9-3.22.9                    requires php = 4.3.9-3.22.9
So I try:

Code: Select all

up2date php-pear --dry-run
and get

Code: Select all

Name                                    Version        Rel
----------------------------------------------------------
php-pear                                1.5.0          5.el4.art         noarch

Unresolvable chain of dependencies:
php-domxml-4.3.9-3.22.9                  requires php = 4.3.9-3.22.9

The following packages were added to your selection to satisfy dependencies:
Package                                Required by
----------------------------------------------------------------------------
php-common-5.2.5-2.el4.art.i386         php-5.2.5-2.el4.art                     php-common
php-common-5.2.5-2.el4.art.i386         php-cli-5.2.5-2.el4.art                 php-common
I can't find anything about upgrading php-domxml. Any advice?

Thanks.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

You'll probably have to remove it manually (rpm -e <packagename). Unfortunately up2date cant automatically resolve that like yum can.
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Unread post by breun »

Lemonbit Internet Dedicated Server Management
dumbomaz
Forum User
Forum User
Posts: 8
Joined: Fri Sep 01, 2006 10:44 am

Unread post by dumbomaz »

I got the proxy working with yum, but I still had to fix the repos b/c RHEL4 doesn't expand the $releasever correctly. So I edited /etc/yum.repos.d/CentOS-Base.repo and changed all "$releasever" to "4". Then I did the "yum update", moved the new php.ini file, restarted Apache and all is well.

Note that I'm running Plesk 8.3.0 and I didn't have to do anything to get Horde working (the PHP wiki says "PSA 8.3.0 is supposed to fix it"), so you could update the wiki accordingly.

Thanks for all your help.

Mark
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

So can you... it is a *wiki* after all :P
dumbomaz
Forum User
Forum User
Posts: 8
Joined: Fri Sep 01, 2006 10:44 am

Unread post by dumbomaz »

The wiki page has been updated to reflect the release of PSA 8.3.0 and the fixes it includes:

http://www.atomicorp.com/wiki/index.php/PHP
Post Reply