Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Are APC and ionCube fully compatible?

Tags:

php

apc

ioncube

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?

like image 825
Clarissa B Avatar asked Sep 30 '10 08:09

Clarissa B


2 Answers

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.

like image 191
Willem Avatar answered Sep 19 '22 04:09

Willem


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)?

like image 34
Confluence Avatar answered Sep 19 '22 04:09

Confluence