Memcached is a free, free key-value caching system.
Configuration and commissioning
It is recommended to run
unixsocket, command example:
memcached -s /usr/home/LOGIN/domains/DOMAIN/memcached.sock -d
- LOGIN is the name of the hosting account
- DOMAIN is the domain of the page that Memcached is running on.
Memcached will run in the background and its process can be checked with:
You can run Memcached along with other switches, for example adding
-vv at the end without
-d to test it, but it won't run the application in the background.
To modify the memory size for Memcached add the
-m switch and specify the value in megabytes. For example:
-m 32 will run the process using 32MB of memory.
In the case of websites of type PHP (including Prestashop, which also supports unixsocket connections in place of the IP address), it is recommended to indicate the location for unixsocket in the
directory above public_html and then adding the path for
Open Basedir in the hosting account panel in
Manage at the selected domain.