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

June 3, 2019 253 views
Ubuntu Apache PHP

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?

1 Answer

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.

Have another answer? Share your knowledge.

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