Installing APC Opcode cache

Today while trying to install the APC Opcode cache on my WiredTree account, I encountered the error “Cannot run code from this file in conjunction with non encoded files in…”  As it turns out, the APC Opcode cache has an incompatibility with Zend Optimizer.  The solution was to disable the Zend Optimizer (Which wasn’t really optimizing anything to begin with).  Just open your php.ini file and comment out the lines that look like the following:

zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_optimizer.version=3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Blogplay
  • Twitter

Leave a Reply