Yii2 Exception: ApcCache requires PHP apc extension to be loaded
问题 I receive the exception when configure the cache components in main configuration of advanced-template frontend, on my php.ini the extension rsults enabled, how I can fix this problem? frontend/config/main.php: 'cache' => [ 'class' => 'yii\caching\ApcCache', 'keyPrefix' => 'myapp', // a unique cache key prefix ], The phpinfo() about apcu: 回答1: Solved by updating the configuration as follow: 'cache' => [ 'class' => 'yii\caching\ApcCache', 'keyPrefix' => 'myapp', // a unique cache key prefix