Can some one help me out with installing Alternative PHP Cache (APC) on Ubuntu 14.04 and configure with wordpress.
I did find a tutorial here: https://www.digitalocean.com/community/tutorials/how-to-install-alternative-php-cache-apc-on-a-cloud-server-running-ubuntu-12-04
But it talks about APC on ubuntu 12, does the same steps apply for Ubuntu 14?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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
“”"
APC is no longer needed in Ubuntu 14.04. It doesn’t support PHP 5.5 which comes with its own built-in Opcache cache instead. To ensure that it is enabled, edit <code>/etc/php5/apache2/php.ini</code> and change: <pre> ;opcache.enable=0 </pre> to <pre> opcache.enable=1 </pre> Next, make sure the php mod is enabled: <pre> php5enmod opcache </pre> Finally restart Apache: <pre> service apache2 restart </pre>
Check out this previous question for some more configuration options:
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.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.