Reputation: 239
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?
Upvotes: 5
Views: 2963
Reputation: 3263
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.
Upvotes: 7
Reputation: 1341
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)?
Upvotes: 2