Page 1 of 1

Trying to upgrade to PHP 5 on Plesk 8.3.0

Posted: Thu Jan 03, 2008 4:55 pm
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.

Posted: Thu Jan 03, 2008 6:39 pm
by scott
You'll probably have to remove it manually (rpm -e <packagename). Unfortunately up2date cant automatically resolve that like yum can.

Posted: Fri Jan 04, 2008 7:49 am
by breun

Posted: Fri Jan 04, 2008 11:31 am
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

Posted: Fri Jan 04, 2008 3:55 pm
by scott
So can you... it is a *wiki* after all :P

Posted: Mon Jan 07, 2008 11:19 am
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