After reviewing some PHP 5 frameworks, I happened upon the subject of PHP optimizers. I had tried APC, but it was causing segmentation faults on almost every call. I even tried the CVS version to no avail.

There are many options:

  • APC Alternative PHP Cache
  • Turck MMCache
  • eAccelerator - branch and continued development of Turck MM Cache
  • Zend Optimizer
  • Xcache

Xcache While xcache's configuration setup is a little confusing, its awesome! It appears to chop off about .04 seconds of execution time. Awesome!

There is also a terrific PHP API within xcache, allowing it to store variables. This is really sweet. We can then stop using the pear cache package. The variable cache is not automatic, you need to use the php api to explicity store information into the cache.