PHP 5 Optimizers

July 6th, 2006

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


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.

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022