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?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.