yum update - Requires: php >= 5.4

Support/Development for PHP
User avatar
CRServers
Forum User
Forum User
Posts: 54
Joined: Wed Jul 04, 2012 7:44 am
Location: Costa Rica

yum update - Requires: php >= 5.4

Unread post by CRServers »

ASL required us to do a "yum update" and this is what came out:
-------------------------------------------------------------------------------
yum update
Loaded plugins: fastestmirror, security
Loading mirror speeds from cached hostfile
* asl-3.0: www6.atomicorp.com
* atomic: www6.atomicorp.com
* base: mirrors.ucr.ac.cr
* extras: mirrors.ucr.ac.cr
* rpmforge: mirror.us.leaseweb.net
* updates: mirrors.ucr.ac.cr
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package php-zend-guard-loader.x86_64 0:5.5.0-3.el6.art will be updated
---> Package php-zend-guard-loader.x86_64 0:6.0.0-4.el6.art will be an update
--> Processing Dependency: php >= 5.4 for package: php-zend-guard-loader-6.0.0-4.el6.art.x86_64
--> Processing Dependency: php-devel >= 5.4 for package: php-zend-guard-loader-6.0.0-4.el6.art.x86_64
--> Finished Dependency Resolution
Error: Package: php-zend-guard-loader-6.0.0-4.el6.art.x86_64 (atomic)
Requires: php-devel >= 5.4
Installed: php-devel-5.3.26-19.el6.art.x86_64 (@atomic)
php-devel = 5.3.26-19.el6.art
Available: php-devel-5.2.17-1.el6.art.i686 (atomic)
php-devel = 5.2.17-1.el6.art
Available: php-devel-5.3.3-22.el6.x86_64 (base)
php-devel = 5.3.3-22.el6
Available: php-devel-5.3.18-11.el6.art.i686 (atomic)
php-devel = 5.3.18-11.el6.art
Available: php-devel-5.3.19-12.el6.art.i686 (atomic)
php-devel = 5.3.19-12.el6.art
Available: php-devel-5.3.20-13.el6.art.i686 (atomic)
php-devel = 5.3.20-13.el6.art
Available: php-devel-5.3.21-14.el6.art.i686 (atomic)
php-devel = 5.3.21-14.el6.art
Available: php-devel-5.3.22-15.el6.art.i686 (atomic)
php-devel = 5.3.22-15.el6.art
Available: php-devel-5.3.23-16.el6.art.i686 (atomic)
php-devel = 5.3.23-16.el6.art
Available: php-devel-5.3.25-18.el6.art.i686 (atomic)
php-devel = 5.3.25-18.el6.art
Error: Package: php-zend-guard-loader-6.0.0-4.el6.art.x86_64 (atomic)
Requires: php >= 5.4
Installed: php-5.3.26-19.el6.art.x86_64 (@atomic)
php = 5.3.26-19.el6.art
Available: php-5.2.17-1.el6.art.i686 (atomic)
php = 5.2.17-1.el6.art
Available: php-5.3.3-22.el6.x86_64 (base)
php = 5.3.3-22.el6
Available: php-5.3.18-11.el6.art.i686 (atomic)
php = 5.3.18-11.el6.art
Available: php-5.3.19-12.el6.art.i686 (atomic)
php = 5.3.19-12.el6.art
Available: php-5.3.20-13.el6.art.i686 (atomic)
php = 5.3.20-13.el6.art
Available: php-5.3.21-14.el6.art.i686 (atomic)
php = 5.3.21-14.el6.art
Available: php-5.3.22-15.el6.art.i686 (atomic)
php = 5.3.22-15.el6.art
Available: php-5.3.23-16.el6.art.i686 (atomic)
php = 5.3.23-16.el6.art
Available: php-5.3.25-18.el6.art.i686 (atomic)
php = 5.3.25-18.el6.art
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
-------------------------------------------------------------------------------

I don't think we are ready to move to PHP 5.4 yet.
I believe Interworx (CP we use) does not even support PHP 5.4 as of now.

Anybody else has had this problem lately?

How can we solve this and keep on using PHP 5.3?

Thanks for any insight on this issue.

Regards,

Rodrigo
Rodrigo Fernández
Image
http://www.crservers.com
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: yum update - Requires: php >= 5.4

Unread post by faris »

You can exclude php in the atomic repo (/etc/yum.repos.d/atomic.repo)

Just add to the [atomic] section:

exclude=php*

(note: if this doesn't work then add the same to the [asl-3.0] section in the asl repo but I don't think this is required)

Then have a look at the thread I started about moving back to the stock Centos 5.3. From what has been said there, it isn't too bad to do on Centos 6, but it is more complicated for Centos 5.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
User avatar
CRServers
Forum User
Forum User
Posts: 54
Joined: Wed Jul 04, 2012 7:44 am
Location: Costa Rica

Re: yum update - Requires: php >= 5.4

Unread post by CRServers »

Thanks faris, it worked.
I will take a look at the whole thread, but isn't kind of early to be shifting to PHP 5.4?
Is PHP 5.4 safer?
Right off the bat, that's the only reason I would think Atomic would like to change to it so fast.
Thanks and regards,

Rodrigo
Rodrigo Fernández
Image
http://www.crservers.com
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: yum update - Requires: php >= 5.4

Unread post by faris »

Well, it is all a matter of opinion. Certainly 5.4 should be better, but I doubt it will be better in a way that I will notice. No scripts that I know of only work on 5.4 so far (c.f. WordPress 3.something which required 5.3).

So I agree with you - it is too early to move to 5.4. It is a major change compared to 5.3. A lot of our customers will be very unhappy if we were to force it on them. Too many scripts would stop working. However, 90%+ of these scripts (pure guess) will only stop working because they will have been doing things in a way that is less secure than they should have been, and which 5.4 no longer supports. So in a round-about way, switching to 5.4 would improve security.

On the positive side, Plesk 11.5 supports multiple versions of PHP. So our plan is to migrate to 11.5.x once it has reached maturity (it is still too new to switch to immediately), and have the stock Centos 5.3 as the default php with customers also having the option to use 5.4 (or more likely the other way round).

Exactly how this will work is difficult to say -- it is not clear how one installs multiple php versions - certainly you can't just install via rpm because doing so with 5.4 would remove 5.3.
--------------------------------
<advert>
If you want to rent a UK-based VPS that comes with friendly advice and support from a fellow ART fan, please get in touch.
</advert>
redpaint
Forum Regular
Forum Regular
Posts: 101
Joined: Mon Oct 31, 2011 11:47 am
Location: UK

Re: yum update - Requires: php >= 5.4

Unread post by redpaint »

We are seeing this problem now too - only seems to be affecting php-zend-guard-loader though as

Code: Select all

yum upgrade php-ioncube-loader*
works fine.
Post Reply