Updating PHP 4.3.9 to 5.2.x on CentOS 4.4 (Final)

Support/Development for PHP
MopeyGecko
New Forum User
New Forum User
Posts: 2
Joined: Sun Jul 19, 2009 10:24 am

Updating PHP 4.3.9 to 5.2.x on CentOS 4.4 (Final)

Unread post by MopeyGecko »

Hi,

I'm trying to update my version of PHP to a version of 5.2 but when running yum update php I am receiving the following dependency error.

Code: Select all

yum update php
Setting up Update Process
Setting up repositories
plesk                     100% |=========================|  951 B    00:00
update                    100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
atomic                    100% |=========================|  951 B    00:00
addons                    100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
Reading repository metadata in from local files
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.i386 0:5.2.9-2.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-snmp
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-xmlrpc
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-devel
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-ncurses
--> Processing Dependency: /usr/bin/php for package: psa-horde
--> Processing Dependency: php-cli = 5.2.9-2.el4.art for package: php
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-ldap
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-odbc
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-domxml
--> Processing Dependency: php = 4.3.9-3.22.15 for package: php-mysql
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-ldap.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-mysql.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-xml.i386 0:5.2.9-1.el4.art set to be updated
---> Package php-xmlrpc.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-snmp.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-ncurses.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-gd.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-devel.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-cli.i386 0:5.2.9-2.el4.art set to be updated
---> Package psa-horde.noarch 0:3.1.7-cos4.build86080722.02 set to be updated
---> Package php-imap.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-odbc.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-mbstring.i386 0:5.2.9-2.el4.art set to be updated
---> Package php-pear.noarch 1:1.7.2-2.el4.art set to be updated
--> Running transaction check
--> Processing Dependency: php-pdo for package: php-mysql
--> Processing Dependency: libt1.so.5 for package: php-gd
--> Processing Dependency: php-pdo for package: php-odbc
--> Processing Dependency: php-common = 5.2.9-1.el4.art for package: php-xml
--> Processing Dependency: automake for package: php-devel
--> Processing Dependency: psa-pear >= 1.4.9 for package: psa-horde
--> Processing Dependency: autoconf for package: php-devel
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package automake.noarch 0:1.9.2-3 set to be updated
---> Package autoconf.noarch 0:2.59-5 set to be updated
---> Package t1lib.i386 0:5.1.2-2.el4.art set to be updated
---> Package php-pdo.i386 0:5.2.9-2.el4.art set to be updated
---> Package psa-pear.noarch 0:1.4.9-20060517.1 set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.2.9-1.el4.art for package: php-xml
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.2.9-1.el4.art is needed by package php-xml
I am not sure if it is relevant but I am also running Plesk 8.3.0

Thanks in advance for any help on this issue.

- Andy
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Re: Updating PHP 4.3.9 to 5.2.x on CentOS 4.4 (Final)

Unread post by Highland »

Could be a cache issue. My C4 box had 5.2.9-2 on it. Try this

Code: Select all

yum clean all
then rerun your update and see if that works.
"Its not a mac. I run linux... I'm actually cool." - scott
MopeyGecko
New Forum User
New Forum User
Posts: 2
Joined: Sun Jul 19, 2009 10:24 am

Re: Updating PHP 4.3.9 to 5.2.x on CentOS 4.4 (Final)

Unread post by MopeyGecko »

no that didn't work unfortunately, after running clean all I still get the same final error.

Somebody on another forum suggested running yum remove php and the reinstalling with yum install but I'm not sure if that would cause further problems.
Highland
Forum Regular
Forum Regular
Posts: 674
Joined: Mon Apr 10, 2006 12:55 pm

Re: Updating PHP 4.3.9 to 5.2.x on CentOS 4.4 (Final)

Unread post by Highland »

Yeah, removing PHP with something like Plesk installed can be a bear

I dunno what to tell you, really. The 5.2.9-2 file is in the repo. Cleaning cache usually works.

http://www.atomicorp.com/channels/atomi ... i386/RPMS/
http://www.atomicorp.com/channels/atomi ... 6_64/RPMS/

You could maybe pester Scott to take the -1 files out of the repo
"Its not a mac. I run linux... I'm actually cool." - scott
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: Updating PHP 4.3.9 to 5.2.x on CentOS 4.4 (Final)

Unread post by scott »

BEARS!!!!!!!!!!!!!!!!!! (done)
Post Reply