Memcache \OC\Memcache\APUc not available for local cache [solved]



I'm running OC 9.1 on CentOS 7 with PHP 5.5 and Apache 2.4. Everything working great. All of a sudden today, I do a routine 'yum update' to apply patches, and now browsing to my cloud gives the following error:

Memcache \OC\Memcache\APUc not available for local cache Is the matching PHP module installed and enabled?

Poked around a little a found the solution. The CentOS patches included updates to the default PHP 5.4 installation (I'm using PHP 5.5 for ownCloud, but both are installed). This caused the following two files, which were renamed/disabled during the initial ownCloud installation, to be re-created:


I renamed them as follows, restarted httpd.service, and now everything is fixed and working fine again:

mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/
mv /etc/httpd/conf.modules.d/10-php.conf /etc/httpd/conf.modules.d/
systemctl restart httpd.service

Hope this helps someone else, if you encounter the same issue!