Are APC and ionCube fully compatible?
Asked Answered
U

2

5

I've spent the better part of an hour looking for a definitive answer to this question. A script I need to use requires the IonCube loader be enabled and I've grown quite fond of APC.

Should I expect any problems if both are enabled on the same server?

Underlying answered 30/9, 2010 at 8:7 Comment(0)
A
2

No, if your files are encoded with ionCube you won't be able to use APC.

Besides, it is useless. Why would you want to use ionCube (unless you are using software encoded with it)?

Austen answered 30/9, 2010 at 8:9 Comment(3)
OK, I kinda gathered that iC-encoded files wouldn't be compatible with APC but I'm assuming you're saying that all others will be?Underlying
And to answer the second part: it's not my choice, the script I need to use requires it.Underlying
@Clarissa Yes, scripts that are not encoded should run fine. If they don't, contact ionCube.Austen
M
7

I've just spent 3 days debugging a setup that loads both APC and Ioncube. It works, but strace disclosed that every open() (on php files) was called twice, even for files that aren't ioncube encoded. So if you're worried about i/o performance, it's a bad idea to combine these two.

Mcmaster answered 10/10, 2011 at 14:5 Comment(0)
A
2

No, if your files are encoded with ionCube you won't be able to use APC.

Besides, it is useless. Why would you want to use ionCube (unless you are using software encoded with it)?

Austen answered 30/9, 2010 at 8:9 Comment(3)
OK, I kinda gathered that iC-encoded files wouldn't be compatible with APC but I'm assuming you're saying that all others will be?Underlying
And to answer the second part: it's not my choice, the script I need to use requires it.Underlying
@Clarissa Yes, scripts that are not encoded should run fine. If they don't, contact ionCube.Austen

© 2022 - 2024 — McMap. All rights reserved.