Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: ReetP on August 17, 2007, 12:09:34 AM

Title: Upgrading 7.1.3 to 7.2 reinstalling PHP5 problem
Post by: ReetP on August 17, 2007, 12:09:34 AM
Hi,

I managed to remove PHP5 and run yum update to take me up to SME 7.2

I have a slight situation upgrading PHP back to V5 :

================================================================
[root@esmith ~]# yum --enablerepo=centosplus update php                         ==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "smeserver" plugin
Loading "fastestmirror" plugin
Setting up Update Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Excluding Packages from CentOS - centosplus
Finished
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package php.i386 0:5.1.6-3.el4s1.7 set to be updated
--> Running transaction check
--> Processing Dependency: php-cli = 5.1.6-3.el4s1.7 for package: php
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-gd
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mysql
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-imap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-mbstring
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-pear
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-ldap
--> Processing Dependency: php = 4.3.9-3.22.5 for package: php-domxml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-xml.i386 0:5.1.6-3.el4s1.5 set to be updated
---> Package php-ldap.i386 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-mysql.i386 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-mbstring.i386 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-pear.noarch 1:1.4.11-1.el4s1.1 set to be updated
---> Package php-imap.i386 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-cli.i386 0:5.1.6-3.el4s1.7 set to be updated
---> Package php-gd.i386 0:5.1.6-3.el4s1.7 set to be updated
--> Running transaction check
--> Processing Dependency: php-pdo for package: php-mysql
--> Processing Dependency: php-common = 5.1.6-3.el4s1.5 for package: php-xml
--> Restarting Dependency Resolution with new changes.
--> Populating transaction set with selected packages. Please wait.
---> Package php-pdo.i386 0:5.1.6-3.el4s1.7 set to be updated
--> Running transaction check
--> Processing Dependency: php-common = 5.1.6-3.el4s1.5 for package: php-xml
--> Finished Dependency Resolution
Error: Missing Dependency: php-common = 5.1.6-3.el4s1.5 is needed by package php-xml
================================================================
No new rpms were installed. No additional commands are required.
================================================================


I tried

yum --enablerepo=base --enablerepo=updates --enablerepo=centosplus install php-common

This installs

php-common-5.1.6-3.el4s1.7

which is newer

Any ideas on how to get my PHP back to version 5 ?

Many thanks

--------------------------------------------------------------------------

Found a solution : http://www.centos.org/modules/newbb/viewtopic.php?topic_id=9550

I had searched but just didn't find this. I actually found the link via Google..........

There are none so blind as those who cannot see !