Module MemCached: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
mNo edit summary
Line 15: Line 15:
Allows Dolibarr to increase speed by using a cache server [http://memcached.org/ MemCached].
Allows Dolibarr to increase speed by using a cache server [http://memcached.org/ MemCached].
According to platform, speed increase can be between 15% (Linux) and 40% (Windows). Difference of gain exists because Linux is already more optimized for PHP and disks IO then Windows.
According to platform, speed increase can be between 15% (Linux) and 40% (Windows). Difference of gain exists because Linux is already more optimized for PHP and disks IO then Windows.
= Prerequisites =
To install/use this module, you must before:
* Have a running memcached server and know its address (ex: localhost) and its port (ex: 11211).
Process to install such a server is not part of this documentation. See articles found on the Internet for this (Ie: Seer http://jehiah.cz/projects/memcached-win32/ to install a memcached server on Windows, see http://2bits.com/articles/installing-memcached-125-and-memcache-pecl-223-ubuntu-server.html for an installation on Ubuntu, ...)
* Have functions "memcache" or "memcached" activated into your PHP (Go into Dolibarr menu Home -> System information -> PHP to see if at least one PHP client (memcache or memcached) is available.
Again, if this functions are not available, search article on the Internet to see how to setup your PHP to support memcache ou memecached.


= Installation =
= Installation =

Navigation menu