PHP 5.5, APC Cache, OpCodes, and Yii Framework

Recently, I upgraded my version of PHP from 4.6 to 5.5.6. I had been using the PHP APC cache to improve performance. I’m using the Yii PHP framework and the settings I had in main.config were

‘components’=>array(
‘cache’ => array(
‘class’ => ‘system.caching.CApcCache’,
),

PHP 5.5+ now includes a built-in Zend Optimizer opcode cache so the APC cache is no longer supported. As such, my Yii main.config settings needed to change to

‘cache’ => array(
‘class’ => ‘system.caching.CDummyCache’,
),

in order to work.