Solved thread

This post is marked as solved. If you think the information contained on this thread must be part of the official documentation, please contribute submitting a pull request to its repository.

OPcache

Hi all, I am using PHP 5.5.9 on Ubuntu 14.04 The PHP 5.5.9 not support APC, its come with OPcache. My proble is with the metadata. According to documentation there is a option to save meatedate in APC but what shuld I do if I use PHP 5.5 where APC in unavaliable and instead there is a Zend OPcache?



10.6k

I just now found that instead of APC I should use APCU for PHP 5.5 (just installed from pecl: pecl install apcu and enabled in php.ini, all works greate) so it's looks like I can use \Phalcon\Mvc\Model\MetaData\Apc withuot any proble. Still just curious, is Phalcon going to support OPcache?



82.7k
Accepted
answer

OPcache only caches PHP bytecode, there's no way to use it to cache data, so we don't have anything to support.