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?

BoltClock
  • 700,868
  • 160
  • 1,392
  • 1,356
Clarissa B
  • 239
  • 2
  • 5
  • 14

2 Answers2

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.

Willem
  • 3,043
  • 2
  • 25
  • 37
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)?

Confluence
  • 1,331
  • 1
  • 10
  • 26
  • 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? – Clarissa B Sep 30 '10 at 13:32
  • And to answer the second part: it's not my choice, the script I need to use requires it. – Clarissa B Sep 30 '10 at 13:33
  • @Clarissa Yes, scripts that are not encoded should run fine. If they don't, contact [ionCube](http://www.ioncube.com/). – Confluence Sep 30 '10 at 13:50