Trying to upgrade PHP via yum on CentOS fails.
I have a CentOS 5 64bit cloud server at 1and1. The current version of PHP on it is 5.2.17. I would like to install 5.3.6, which is available from the Atomic repository. I'm using yum for all this but when I try to install the 5.6.3 package, I get the following.
Total download size: 10 M Is this ok [y/N]: y Downloading Packages: Running rpm_check_debug ERROR with rpm_check_debug vs depsolve: Package php-ldap needs php-common = 5.2.17-1.el5.art, this is not available. Complete! [root@s15 ~]# php -v PHP Warning: Module 'ldap' already loaded in Unknown on line 0 PHP 5.2.17 (cli) (built: Jan 7 2011 10:39:29) Copyright (c) 1997-2010 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies [root@s15 ~]# What do I need to do? Thanks |
Hello,
Before we get into too deep of troubleshooting, can you try forcing a reinstall of php-common? Cheers, Josh |
I would try if I knew how to do that.
|
Sure thing man...
Code:
yum reinstall php-common |
Excellent. I'll give that a try and let you know. Do you give advice on women per chance?
|
LOL I do actually. Send me a PM and I can be your LQ therapist ;)
Second edit - Prenup added. I just might turn this into a blog ;) Code:
yum erase woman-general |
Well, as for my original problem, it would seem the 'reinstall' is not an option in the yum version I have. I have also read posts where others are having problems with upgrading to php 5.3. CentOS does have a new version out that supports PHP 5.3, so I think I might try upgrading the OS before I get all crazy with this. then I will try to upgrade yum and php and see what happens.
As for the other bit of code you offered, can you add a prenup as a dependency to that package? Thanks for your help. I did learn something from it. |
Quote:
And if you really want me to, I can edit my previous post to reflect the prenup ;) |
All times are GMT -5. The time now is 06:21 PM. |