Koozali.org: home of the SME Server

Upgrading 7.1.3 to 7.2 reinstalling PHP5 problem

Offline ReetP

  • *
  • 3,733
  • +5/-0
Upgrading 7.1.3 to 7.2 reinstalling PHP5 problem
« 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 !
« Last Edit: August 17, 2007, 04:16:11 PM by ReetP »
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation