How to use opcache ?

I have a yii2 project that was hosted on server with PHP version 5.4, and I was using APC cache. Now we have server version raised to 5.5, and there is an error that apcFetch() do not work. Can we use opcache ? In documentation I do not see class or guide.

i think it;s Yii Configure itself. Simply enable opcache and you’re good to go.

This topic should be applicable to Yii 2 as well.