Re: encode php scripts with opcache compatibility
| From: | Nicolai Scheer | Date: | Thu, 22 May 2014 08:18:54 +0000 |
| Subject: | Re: encode php scripts with opcache compatibility | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-74427@lists.php.net to get a copy of this message | ||
Hi!
On 22 May 2014 09:37, Matteo Beccati <php@beccati.com> wrote:
> On 22/05/2014 00:25, Johannes Schlüter wrote:
> > The third conmercial one (next to Zend and ioncube) is
> > http://www.camouflage-encoder.com/ which promises
> > "guaranteed support
> > for new PHP versions within 3 months" and "full support for PHP 5.3 and
> > PHP 5.4" (both quotes from the mentioned page)
>
> Given I've seen a few commercial products listed already, I feel
> compelled as a long time customer to also remind you about Sourceguardian..
>
> IIRC one of the first alternatives the the early Zend Encoder on the
> market.
>
> It works for me and it's 5.5 compatible, although I don't know exactly
> what is its current behaviour with opcode caches. I've asked if they can
> shed a light.
>
>
> Cheers
> --
> Matteo Beccati
>
>
Sourceguardian "works" with opcache, but not the way it is supposed to.
SourcGuardian encoded scripts essentially consist just of a function call
to sg_load() which takes the encrypted script as a parameter. Therefor, the
script itself gets cached by opcache but since the decryption process and
class loading ist just a function call, there's not the speed improvement I
need.
Greetings
Nico