opcache.enable=1Next, make sure the php mod is enabled:
php5enmod opcacheFinally restart Apache:
service apache2 restartCheck out this previous question for some more configuration options: https://www.digitalocean.com/community/questions/enable-php-5-5-opcache-on-ubuntu-14-04-with-nginx-and-php-fpm
Just in Reply to ASB, W3 Total cache doesn’t support Zend’s Opcache - and isn’t planning on doing so according to the author of the plugin (for some strange reason?)… So, even though APC isn’t going to be supported by PHP-5 into the future (it works fine now), it is currently the only working option other than installing memcache.
When i enter this command it gives this in reply ; SO IF THEIR IS SOLUTION THEN TELL ME
root@rebuildweb-gui:~# sudo apt-get install php-apc
Reading package lists… Done
Building dependency tree
Reading state information… Done
Package php-apc is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package ‘php-apc’ has no installation candidate