Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
Jeffrey Roberts Posted January 27, 2020 Posted January 27, 2020 I started receiving this message repeatedly in php_errorlog ever since I enabled Memcache on my server and in ACP. Is there something I have done wrong? PHP Warning: Module 'memcached' already loaded in Unknown on line 0 constants.php has the following contents: \define( 'REDIS_ENABLED', false ); \define( 'STORE_METHOD', 'Database' ); \define( 'STORE_CONFIG', '[]' ); \define( 'CACHE_METHOD', 'Memcache' ); \define( 'CACHE_CONFIG', '{"servers":["127.0.0.1: 20116"]}' ); \define( 'CACHE_PAGE_TIMEOUT', 30 ); \define( 'SUITE_UNIQUE_KEY', 'xxxxxxxx' );
Daniel F Posted January 27, 2020 Posted January 27, 2020 Hi, how did you enable memcached? Quote PHP Warning: Module 'memcached' already loaded in Unknown on line 0 From my own experience this error usually means that the memcached module was included 2 or more times inside the php.ini file. Another reason for this could be that php was already built with memcached support, so that there's no reason to include it into your php.ini file. In any case, this is a server issue and your webhost should be able to assist you much better with this issue.
Jeffrey Roberts Posted January 27, 2020 Author Posted January 27, 2020 Yes, thanks! I just discovered this when I went looking. The memcached.so module was listed twice. Once in my local php.ini and once in /usr/local/php73/etc/extensions.ini
Recommended Posts
Archived
This topic is now archived and is closed to further replies.