yum install php-zend-optimizer

Support/Development for PHP
pmeth
New Forum User
New Forum User
Posts: 3
Joined: Thu Apr 21, 2011 7:33 pm
Location: Toronto

yum install php-zend-optimizer

Unread post by pmeth »

When I try to install zend optimizer I get:

Code: Select all

yum install php-zend-optimizer
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * atomic: www5.atomicorp.com
 * base: mirror.team-cymru.org
 * extras: mirror.steadfast.net
 * updates: mirror.team-cymru.org
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-zend-optimizer.x86_64 1:3.3.9-2.el5.art set to be updated
--> Processing Conflict: php conflicts php-zend-optimizer
--> Finished Dependency Resolution
php-5.3.6-3.el5.art.x86_64 from installed 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
CentOS release 5.6

Any idea of how to resolve this?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: yum install php-zend-optimizer

Unread post by scott »

Unfortunately Zend dropped support for 5.3, they have a new project now called zend guard. I believe it requires a key to use
lvalics
Forum User
Forum User
Posts: 38
Joined: Thu Feb 22, 2007 3:49 pm
Location: Romania
Contact:

Re: yum install php-zend-optimizer

Unread post by lvalics »

Then is better to not upgrade php to 5.3 yet :-)
Best regards,
Valics Lehel

Power Toys for PLESK
HOW TO: Setup a new box with PLESK
PLESK Crash Recovery Service
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Re: yum install php-zend-optimizer

Unread post by hostingguy »

we updated and so far no one has noticed or cared that zend optimizer is no longer there.
faris
Long Time Forum Regular
Long Time Forum Regular
Posts: 2321
Joined: Thu Dec 09, 2004 11:19 am

Re: yum install php-zend-optimizer

Unread post by faris »

Yeah, I think I posted about this elsewhere but I can't find the post on here.

If you have any apps that required Zend Optimizer under <5.3 solely in order to run encrypted php apps, there's a free download for 5.3 that will restore this functionality. I thought it was called ZendGuard, but if that does need a paid-for key then I'm not sure of my facts anymore.

But I doubt Zend would expect anyone just wanting to run encrypted code to have to buy a key - lots of commercial scripts (used to) use Zend encryption.
--------------------------------
<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>
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Re: yum install php-zend-optimizer

Unread post by hostingguy »

Maybe SourceGuardian? Or is that something else?
pmeth
New Forum User
New Forum User
Posts: 3
Joined: Thu Apr 21, 2011 7:33 pm
Location: Toronto

Re: yum install php-zend-optimizer

Unread post by pmeth »

I briefly looked into it and it does seem that the product is called Zend Guard and there is a download that lets you run encrypted code for free. The only thing is it looked like they want you to install zend server to get it. I assume that is basically just php bundled with some other stuff, but I don't know enough about it to risk installing. When atomicorp puts it in their repo and gives the all clear, i'll probably do it.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: yum install php-zend-optimizer

Unread post by scott »

Wait really? all of zend server is required, thats insane!
pmeth
New Forum User
New Forum User
Posts: 3
Joined: Thu Apr 21, 2011 7:33 pm
Location: Toronto

Re: yum install php-zend-optimizer

Unread post by pmeth »

Sorry. I was wrong. There is a separate "runtime loader" for php 5.3. They don't make it very obvious on their website. I guess they really want to push their server.

Anyhow, the product is called Zend Guard Loader (Runtime for php 5.3)
You can get the Linux 64 bit version from here:
http://www.zend.com/en/download/418
hostingguy
Forum Regular
Forum Regular
Posts: 661
Joined: Mon Oct 29, 2007 6:51 pm

Re: yum install php-zend-optimizer

Unread post by hostingguy »

it looks like they revised their license to allow others to bundle and distribute it as well.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Re: yum install php-zend-optimizer

Unread post by scott »

Yup! Package (php-zend-guard-loader) was just pushed out to the mirrors. I'll do an announcement on it shortly
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: yum install php-zend-optimizer

Unread post by breun »

I believe that apps encoded for Zend Optimizer are not compatible with Zend Guard Loader, people will need to get new versions of their apps that are encoded for Zend Guard Loader. At least, that's what I gathered, I haven't tested this yet.
Lemonbit Internet Dedicated Server Management
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: yum install php-zend-optimizer

Unread post by KrazyBob »

Gotta make this tough on the new kid -- sheez. Trial by fire!

Which do I need to load?

Code: Select all

yum upgrade -y
...
-bash-3.2# php -v
PHP 5.3.6 (cli) (built: Apr 19 2011 13:21:12) 
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies

-bash-3.2# yum list php-zend-*
php-zend-guard-loader.x86_64                               5.5.0-2.el5.art                                 atomic
php-zend-optimizer.x86_64                                  1:3.3.9-2.el5.art                               atomic
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: yum install php-zend-optimizer

Unread post by breun »

Zend Guard Loader for PHP 5.3+, Zend Optimizer for older versions of PHP.

If you're using encoded applications, they'll need to be compatible with the loader you installed. I'm not sure if Zend Guard Loader does anything useful if you're not using encoded applications.
Lemonbit Internet Dedicated Server Management
KrazyBob
Forum Regular
Forum Regular
Posts: 310
Joined: Mon Mar 19, 2007 3:47 pm

Re: yum install php-zend-optimizer

Unread post by KrazyBob »

Well, when I try to install optimizer it borks with unresolved deps. I haven't tried Guard yet because mySQL is having a bad day...
Post Reply