To enable support Memcache in Bitrix:
bitrix/php_interface/dbconn.php
add code like this:define("BX_CACHE_TYPE", "memcache"); define("BX_MEMCACHE_HOST", "unix:///home/example/.system/memcache/socket"); define("BX_MEMCACHE_PORT", "0");
In the line with the parameter BX_MEMCACHE_HOST
instead example
indicate hosting account namein which the site is hosted.
bitrix
create a file .settings_extra.php
with code like this:<?php return array( 'cache' => array( 'value' => array( 'type' => 'memcache', 'memcache' => array( 'host' => 'unix:///home/example/.system/memcache/socket', 'port' => '0' ), 'sid' => $_SERVER["DOCUMENT_ROOT"]."#01" ), ), ); ?>
In the line with the parameter host
instead example
indicate hosting account namein which the site is hosted.