NYCPHP Meetup

NYPHP.org

[nycphp-talk] Does anyone have Ioncube experience?

Cliff Hirsch cliff at pinestream.com
Fri Dec 8 12:47:31 EST 2006


Dan:

Thanks. Sounds like it's not a showstopper. Certainly not worth
abandoning this shopping cart because of it...yet...

Cliff
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Dan Cech
Sent: Friday, December 08, 2006 9:13 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Does anyone have Ioncube experience?

Cliff Hirsch wrote:
> I am integrating a commercial php shopping cart that uses Ioncube to
protect
> some of the source. I've already encountered one problem where Ioncube
is not
> compatible with the Zend Studio Server debugger and wonder how it will
work
> with Zend Optimizer and opcode caching software like APC.

It will work ok with Zend Optimizer, just make sure that you're using
the latest versions of both Optimizer and the IONCube loader.

If you're installing the IONCube loader via php.ini, I believe it should
be initialized before Zend, the majority of my experience has been with
loading it dynamically.

> 
> I'm wondering whether anyone has had experience with Ioncube -- good,
bad or
> ugly. Any other unexpected gotchas that I should know about before
deploying
> this in a production enviroment?

The only other oddity I've seen was one machine which experienced random
segfaults when using Zend Optimizer together with IONCube.

The solution turned out to be changing from using AddType in the
httpd.conf to AddHandler, since the change there have been no more
segfaults.

Dan




More information about the talk mailing list