PHP 5.1.x and APC Problems
January 24, 2006 Leave a comment
A quick update, since there seems to be more interest than I had anticipated asking for our experience with the upgraded LQ infrastructure. Apache 2.2.x has been absolutely rock solid as well as slightly faster (anecdotally) than the old 1.3.x. Nothing too substantial, but based on the CHANGELOG and the last month running it for LQ, I'd suggest the 2.2.x branch to anyone that asks. PHP 5.1.x has also been solid and some of the new features when compared to 4.4.x are fairly handy. If you're not tied to 4.x for BC reasons, I'd say go for that upgrade also. One HUGE caveat is that APC has been extremely unstable for us. I'm not sure if it's PHP5+APC or just that we are running different code, but we have seen consistent APC-related segfaults. There are many bug reports about it in the PECL bug tracker, so hopefully it'll be addressed soon. In the meantime, if you need to use APC for performance reasons, you'll definitely want some kind of watchdog on Apache to make sure things are running smoothly.
–jeremy
Apache, PHP, PECL, APC, LQ, Open Source, PHP5