mod_memcache
The mod_memcache module enables ProFTPD support for caching data in memcached servers, using the libmemcached client library. Note that libmemcached version 0.41 or later is required.
libmemcached
<VirtualHost>
<Global>
The MemcacheEngine directive enables or disables the mod_memcache module, and thus the configuration of memcache support for the proftpd daemon.
MemcacheEngine
proftpd
The MemcacheLog directive is used to specify a log file for mod_memcache's reporting on a per-server basis. The file parameter given must be the full path to the file to use for logging.
MemcacheLog
Note that this path must not be to a world-writable directory and, unless AllowLogSymlinks is explicitly set to on (generally a bad idea), the path must not be a symbolic link.
AllowLogSymlinks
The currently supported MemcacheOptions are:
MemcacheOptions
NoBinaryProtocol
Experimental feature
The MemcacheServers directive is used to configure the IP addresses/ports of the memcached servers that the mod_memcache module is to use. The list of servers is expressed as a space-delimited list. For example:
MemcacheServers
memcached
MemcacheServers 1.2.3.4:11211 1.2.3.5:22422
Alternatively, you can configure a Unix domain socket path using e.g.:
MemcacheServers /var/run/memcached.sock
--enable-memcache
$ ./configure --enable-memcache ... $ make $ make install
You may also need to tell configure how to find the libmemcached header and library files:
configure
$ ./configure --enable-memcache \ --with-includes=/path/to/libmemcached/include \ --with-libraries=/path/to/libmemcached/lib