On Mon, Dec 8, 2008 at 12:50 PM, Joe Kramer <[EMAIL PROTECTED]> wrote:
> Hello,
>
> We're having this problem for almost a year soon.
>
> Zend Search Lucene uses large integer for index file offset.
> It was fixed so it works on 64bit system. But only on non-encoded files.
> If you're using Zend Optimizer it will not work.
>
> Why?
> We have Zend Search Lucene file with instruction if ($docStoreOffset
> != (int)0xFFFFFFFF)
> If you run this on 32bit or 64bit system it will work just fine.
>
> Then you encode it with 32bit Zend Encoder (64bit Zend Encoder does not exist)

You can't really expect this to work. Aside from all the bells and
whistles - it's a different architecture. ;-) See the requirements[1]
-- it's all 32bit.

A quickfix would be setting up a 32bit vm and running your code in there.

What you want/need is a 64bit Zend Guard (encoder) though. And in the
end, you need to take that issue to your sales@ contact at Zend. They
should fix this for you. Not the framework people. The framework
people have little to do with the commercial product. Many people who
contribute to the framework are not even employed by Zend.

And if Zend doesn't want to sell you a 64bit encoder, look for
alternatives, for example - check out Source Guardian[2]. They offer
32 and 64bit loader. So I'm assuming that their encoder supports 64bit
as well. There's also an encoder by Ioncube[3], but I have no idea
what the platform requirements are.

Till

[1]: http://www.zend.com/de/products/guard/system-requirements
[2]: http://www.sourceguardian.com/php_encoder.html
[3]: http://www.ioncube.com/sa_encoder.php

Reply via email to