Caching Issues - APC and Memcached

Movie Prop Sites

Active member
We are trying to install a backend caching system. We have installed Memcached and APC and when we put the line into config.php for either, it breaks the site with:

"An unexpected error occurred. Please try again."

Yet there are no server errors that we can find.

We are running Centos 6, PHP 7.1 and Apache 2.0.

Any thoughts on what might be causing this?
 
Do you have the php extensions loaded for each of them? What's the output from
Code:
php -m
 
Thanks for responding, @MattW. Here is our output:


[PHP Modules]
bz2
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
igbinary
imagick
imap
json
libxml
mbstring
mcrypt
memcached
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_sqlite
Phar
posix
readline
Reflection
session
shmop
SimpleXML
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache
 
And have they updated APC to work with PHP 7? Last I knew it was (and I dont' use it personally) APCu that was required to be used as APC was only for the older 5.x line and earlier.
 
As it's Memcached you have loaded, are you putting Libmemcached into the config.php values?
 
I really can't recommend using APCu for php7.x, it has a known deadlock bug where is a php process dies at the wrong time everything locks up hard.
 
Top Bottom