Skip to main content

Epesi config.php memcached session settings

Your /data/config.php file contains a directive where to store sessions. Options are:

  • file
  • database
  • memcache

Find a section that reads:

define('DIRECTION_RTL','0');
define('EPESI_URL','https://YourEpesiURL');

and find a line that defines how the sessions are handled:

Default: database driver

define('SESSION_TYPE','sql');

or

define("MEMCACHE_SESSION_SERVER","127.0.0.1:11211");
define('SESSION_TYPE','memcache');

or

define('SESSION_TYPE','file');

Memcached sessions are the fastest but you have to make sure Memcached deamon is running and you have PHP memcached extension enabled.

File sessions are the slowest, but easiest to setup.

If you experience errors in PHP with Epesi Directory, then add the following:

define('EPESI_DIR', '/');