Question

How do I enable memcached when upgrading from PHP 5.5 to 5.6?

I’ve been using the memcached module with no problems on my site with PHP 5.5 and Ubuntu 14. I’m trying to update my site to PHP 5.6, but when I disable PHP 5.5 and enable PHP 5.6, the memcached module is no longer loaded when I restart Apache according to the phpinfo. How do I tell PHP 5.6 to load the memcached module?


Submit an answer

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!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello,

First you need to make sure that you have the php-memcache module installed for PHP 5.6, then you need to make sure that the memcache.so extension is specified in your PHP 5.6 php.ini file.

Hope that this helps.