Search code examples
phpdoctrine-ormapc

PHP APC Seg Fault


Possible Duplicate:
Is APC compatible with PHP 5.4?

I am trying to get APC to work on (what will be) my production environment stably. I'm getting seg faults when it is enabled and certain libraries are used. It seems to be associated to Doctrine.

Everything is running fine on other machines I use, which are using a newer version of APC that is in beta (3.1.13 and 3.1.11).

Should I be OK to use 3.1.13 beta, or is there a setting I'm missing that will solve the seg faults?


Solution

  • For PHP 5.4, apc versions up to 3.1.12 are producing segfaults (personal experience). APC 3.1.13 is said to work better though. Personally, I opted for xcache until a stable APC is released. In any case, using a beta system in production requires some extra caution.

    Have a look at Is APC compatible with PHP 5.4 or PHP 5.5? which is always kept up-to-date