This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
internet:hosting:web_devel:memcached [2023/06/27 13:57] gcooper |
internet:hosting:web_devel:memcached [2023/06/27 13:58] (current) gcooper |
||
---|---|---|---|
Line 4: | Line 4: | ||
https:// | https:// | ||
+ | |||
+ | Install: | ||
< | < | ||
apt install memcached libmemcached-tools php-memcached | apt install memcached libmemcached-tools php-memcached | ||
</ | </ | ||
+ | |||
+ | Increase memory cap to 2GB: | ||
< | < | ||
Line 14: | Line 18: | ||
-m 2048 | -m 2048 | ||
</ | </ | ||
+ | |||
+ | Restart services: | ||
< | < | ||
Line 19: | Line 25: | ||
systemctl restart apache2 | systemctl restart apache2 | ||
</ | </ | ||
+ | |||
+ | View cached items: | ||
< | < | ||
memcdump --servers=localhost | memcdump --servers=localhost | ||
</ | </ |