store | blogs | forums | twitter | facebook | wiki | mailing lists | downloads | support portal
Atomic Secure Linux
It is currently Fri May 24, 2013 3:17 pm

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic Share/Bookmark  [ 7 posts ] 
Author Message
 Post subject: Problem with upgrade, conflict between php and zend optimize
Unread postPosted: Wed May 23, 2012 12:55 am 
Offline
New Forum User
New Forum User

Joined: Wed May 23, 2012 12:44 am
Posts: 2
Location: Croatia
I tried to upgrade my server using:

yum upgrade

I received this error:

php-5.3.13-5.el5.art.x86_64 from atomic has depsolving problems
--> php conflicts with php-zend-optimizer
Error: php conflicts with php-zend-optimizer
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest


So, it is conflict between zend optimizer and newest version.

I used suggested command:

yum upgrade --skip-broken

At the end of list there were this information:

Skipped (dependency problems):
libedit x86_64 20090923-3.0_1.el5.rf rpmforge 272 k
php x86_64 5.3.13-5.el5.art atomic 2.8 M
php-devel x86_64 5.3.13-5.el5.art atomic 1.3 M


At the end of Transaction test I receive this error:

Transaction Check Error:
file /usr/bin/phpize from install of php-cli-5.3.13-5.el5.art.x86_64 conflicts with file from package php-devel-5.2.17-1.el5.art.x86_64
file /usr/share/man/man1/phpize.1.gz from install of php-cli-5.3.13-5.el5.art.x86_64 conflicts with file from package php-devel-5.2.17-1.el5.art.x86_64


Zend information is this:

Name : php-zend-optimizer
Arch : x86_64
Epoch : 1
Version : 3.3.9
Release : 2.el5.art
Size : 5.8 M
Repo : installed
Summary : PHP Zend Optimizer
URL : http://www.zend.com/en/products/guard/downloads
License : Commercial
Description: PHP Zend Optimizer


I have Plesk, and I thought that upgrading Plesk would solve this problem, but it didn't. Plesk now is latest version. I have PHP 5.2.17, as you can see. On my other server I use for testing purposes upgrade went fine, but on production server there's this problem.

How can I solve this problem without reinstalling server?


Top
 Profile  
 
 Post subject: Re: Problem with upgrade, conflict between php and zend opti
Unread postPosted: Wed May 23, 2012 8:31 am 
Offline
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin

Joined: Wed Dec 31, 1969 8:00 pm
Posts: 7429
Location: earth
Last I checked, php zend optimizer does not support php 5.3.x. You'll need to remove it


Top
 Profile  
 
 Post subject: Re: Problem with upgrade, conflict between php and zend opti
Unread postPosted: Wed May 23, 2012 5:48 pm 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
Yes, Zend Guard Loader is its replacement, but it's not backwards compatible. If you want to run encoded applications you'll need to get versions that can be decoded by Zend Guard Loader instead.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Problem with upgrade, conflict between php and zend opti
Unread postPosted: Thu May 24, 2012 10:14 am 
Offline
New Forum User
New Forum User

Joined: Wed May 23, 2012 12:44 am
Posts: 2
Location: Croatia
scott wrote:
Last I checked, php zend optimizer does not support php 5.3.x. You'll need to remove it


Thank you, I've removed zend optimizer and now everything's ok.


Top
 Profile  
 
 Post subject: Re: Problem with upgrade, conflict between php and zend opti
Unread postPosted: Fri Jan 25, 2013 10:31 pm 
Offline
Forum Regular
Forum Regular
User avatar

Joined: Wed Jan 13, 2010 9:11 am
Posts: 180
Location: Bali
I have clients on my server who use applications that can only run under php zend optimizer.
What is the most recent version of php that I can install?

_________________
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.


Top
 Profile  
 
 Post subject: Re: Problem with upgrade, conflict between php and zend opti
Unread postPosted: Sat Jan 26, 2013 7:17 am 
Offline
Long Time Forum Regular
Long Time Forum Regular

Joined: Sat Aug 20, 2005 9:30 am
Posts: 2812
Location: The Netherlands
PHP 5.2.x. I wouldn't recommend running PHP 5.2.x in production though, since that's no longer supported. If you're running RHEL/CentOS 5 you could go with their PHP 5.1.x packages which are still supported by the distribution.

With PHP 5.3 they introduced Zend Guard Loader, which also supports running encoded apps, but is not compatible with apps which were encoded for use with Zend Optimizer. I'd recommend checking whether a version of the application that is compatible with Zend Guard Loader is available.

_________________
Lemonbit Internet Dedicated Server Management


Top
 Profile  
 
 Post subject: Re: Problem with upgrade, conflict between php and zend opti
Unread postPosted: Sat Jan 26, 2013 7:37 am 
Offline
Forum Regular
Forum Regular
User avatar

Joined: Wed Jan 13, 2010 9:11 am
Posts: 180
Location: Bali
This is what I'm stuck with at the moment.
Code:
php -v
PHP 5.2.17 (cli) (built: Jan  7 2011 08:49:48)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
    with the ionCube PHP Loader v3.3.20, Copyright (c) 2002-2010, by ionCube Ltd., and
    with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

_________________
They say that good intentions, pave the road to hell;
If a thing is not worth doing, it's not worth doing well.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic Share/Bookmark  [ 7 posts ] 

» Feed - Atomicorp

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group