{"id":9153,"date":"2020-08-06T06:32:44","date_gmt":"2020-08-06T03:32:44","guid":{"rendered":"https:\/\/unihost.com\/help\/?p=9153"},"modified":"2023-01-19T14:00:08","modified_gmt":"2023-01-19T11:00:08","slug":"how-to-install-and-configure-memcached-using-debian-as-an-example","status":"publish","type":"post","link":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/","title":{"rendered":"How to install and configure Memcached using Debian as an example"},"content":{"rendered":"<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">This article contains general information on how to install and configure Memcached server, required php extensions, and how to install and configure phpMemcachedAdmin to collect statistics and analyze memcached server performance.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><!--more--><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Memcached is software that implements hash table based in-memory data caching service. Provides the ability to cache data in the RAM of most available servers with a high quality client library.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">It\u2019s also worth understanding the difference between Memcached Server and the Memcache php extension. If the functionality of the Memcache extension is sufficient for your project (since the functionality of the extension is limited, but it can provide speed and use fewer resources), then we recommend using thhed server will be performed using the example of the Debian 10 distribution with installation on different server sets \u2013 Apache and Nginx-PHP-FPM.hed server will be performed using the example of the Debian 10 distribution with installation on different server sets \u2013 Apache and Nginx-PHP-FPM.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">First, you need to configure the web server for the domain and sites to work correctly.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">The next step is to install the Memcached server directly.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">First you need to update the repository:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">apt-get update &amp;&amp; apt-get upgrade<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Next, you need to install Memcached and the php module to work correctly:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">apt-get install memcached php-memcache<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">After installation, we can check if the service is running and whether it uses the local server to work:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">netstat -tap | grep memcached<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9133 aligncenter\" src=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/1memcached.png\" sizes=\"auto, (max-width: 505px) 100vw, 505px\" srcset=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/1memcached.png 300w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_1024\/https:\/\/unihost.com\/help\/minio.php?1memcached-1024x76.png 1024w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_60\/https:\/\/unihost.com\/help\/minio.php?1memcached-60x4.png 60w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_150\/https:\/\/unihost.com\/help\/minio.php?1memcached-150x11.png 150w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_1092\/https:\/\/unihost.com\/help\/minio.php?1memcached.png 1092w\" alt=\"How to install and configure Memcached using Debian as an example - Image 1\" width=\"505\" height=\"37\" \/ title=\"How to install and configure Memcached using Debian as an example - Image 1\"><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">It is necessary to correct the configuration of the Memcached server before using it directly.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">For Debian \/ Ubuntu, this is the\u00a0<em>\/etc\/memcached.conf<\/em>\u00a0file, for CentOS \u2013\u00a0<em>\/ etc \/ sysconfig \/ memcached<\/em><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">You need to edit the following settings:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">-m 1024 - max number of connections\n\n-c 2048 - the size of memory that is allocated for memcached\n\n-l 127.0.0.1 set the local interface\n\n-U 0 - disable UDP to prevent most common attacks on the memcached server<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">As a result, the configuration file may look like this:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9135 aligncenter\" src=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/2memcached.png\" sizes=\"auto, (max-width: 446px) 100vw, 446px\" srcset=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/2memcached.png 300w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_60\/https:\/\/unihost.com\/help\/minio.php?2memcached-60x40.png 60w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_150\/https:\/\/unihost.com\/help\/minio.php?2memcached-150x99.png 150w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_852\/https:\/\/unihost.com\/help\/minio.php?2memcached.png 852w\" alt=\"How to install and configure Memcached using Debian as an example - Image 2\" width=\"446\" height=\"296\" \/ title=\"How to install and configure Memcached using Debian as an example - Image 2\"><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">After making changes to the configuration, restart memcached:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">service memcached restart<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Next, you need to reboot the server that is currently running on the server:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">service apache2 restart\n\nservice nginx restart\n\nservice php-fpm restart\n<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">To test the operation of the memcached server, you can use a simple php script that will add an entry to the cache and retrieve it from there.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Place the test file with the following code in the root of the site:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-9137 aligncenter\" src=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/3memcached.png\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" srcset=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/3memcached.png 300w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_60\/https:\/\/unihost.com\/help\/minio.php?3memcached-60x37.png 60w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_150\/https:\/\/unihost.com\/help\/minio.php?3memcached-150x93.png 150w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_427\/https:\/\/unihost.com\/help\/minio.php?3memcached.png 427w\" alt=\"How to install and configure Memcached using Debian as an example - Image 3\" width=\"401\" height=\"250\" \/ title=\"How to install and configure Memcached using Debian as an example - Image 3\"><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Next, go to the site by the name of the file in the browser and see the result of the work:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-9139 aligncenter\" src=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/4mem.png\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/4mem.png 300w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_60\/https:\/\/unihost.com\/help\/minio.php?4mem-60x39.png 60w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_150\/https:\/\/unihost.com\/help\/minio.php?4mem-150x99.png 150w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_447\/https:\/\/unihost.com\/help\/minio.php?4mem.png 447w\" alt=\"How to install and configure Memcached using Debian as an example - Image 4\" width=\"300\" height=\"197\" \/ title=\"How to install and configure Memcached using Debian as an example - Image 4\"><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">To install and configure phpMemcachedAdmin \u2013 software that provides a web interface for monitoring, collecting statistics and managing Memcached, we provide an option to create a subdirectory at the root of the site and configure authentication for access.<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">First, you need to create a folder in the site directory to upload the latest software version there:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">mkdir phpMemcachedAdmin &amp;&amp; cd phpMemcachedAdmin\n\nwget <a href=\"https:\/\/github.com\/elijaa\/phpmemcachedadmin\/archive\/master.zip\" rel=\"nofollow noopener noreferrer\" target=\"_blank\">https:\/\/github.com\/elijaa\/phpmemcachedadmin\/archive\/master.zip<\/a>\n<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Next, unpack the archive into the target folder and set up access rights for it:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">unzip master.zip\u00a0\n\nmv phpmemcachedadmin-master\/* .\n\nfind .\/ -type f -exec chmod 0644 {} \\;\n\nfind .\/ -type d -exec chmod 0755 {} \\;\n\n\n<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Next, you need to create a .htaccess file to provide authorization:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-9141 aligncenter\" src=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/5mem.png\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/5mem.png 300w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_60\/https:\/\/unihost.com\/help\/minio.php?5mem-60x28.png 60w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_150\/https:\/\/unihost.com\/help\/minio.php?5mem-150x69.png 150w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_346\/https:\/\/unihost.com\/help\/minio.php?5mem.png 346w\" alt=\"How to install and configure Memcached using Debian as an example - Image 5\" width=\"300\" height=\"138\" \/ title=\"How to install and configure Memcached using Debian as an example - Image 5\"><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Set a password:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">htpasswd -c .htpasswd memcachedmanager<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">We can check the result by clicking on the folder name in the root of the site:<\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-9143 aligncenter\" src=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/6mem.png\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/6mem.png 300w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_1024\/https:\/\/unihost.com\/help\/minio.php?6mem-1024x789.png 1024w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_60\/https:\/\/unihost.com\/help\/minio.php?6mem-60x46.png 60w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_150\/https:\/\/unihost.com\/help\/minio.php?6mem-150x116.png 150w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_1231\/https:\/\/unihost.com\/help\/minio.php?6mem.png 1231w\" alt=\"How to install and configure Memcached using Debian as an example - Image 6\" width=\"300\" height=\"231\" \/ title=\"How to install and configure Memcached using Debian as an example - Image 6\"><\/span><\/p>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">Additionally, you may need to change the rights to folders in the phpMemcachedAdmin directory and edit the correct path to the configuration file:<\/span><\/p>\n<pre><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\">chmod -R 777 Temp\/ Config\/<\/span><\/pre>\n<p><span style=\"font-family: Ubuntu, sans-serif; font-size: 12pt;\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-9145 aligncenter\" src=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/7mem.png\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" srcset=\"https:\/\/unihost.com\/help\/minio.php?.\/31065953\/7mem.png 300w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_1024\/https:\/\/unihost.com\/help\/minio.php?7mem-1024x510.png 1024w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_60\/https:\/\/unihost.com\/help\/minio.php?7mem-60x30.png 60w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_150\/https:\/\/unihost.com\/help\/minio.php?7mem-150x75.png 150w, https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_1100\/https:\/\/unihost.com\/help\/minio.php?7mem.png 1100w\" alt=\"How to install and configure Memcached using Debian as an example - Image 7\" width=\"300\" height=\"149\" \/ title=\"How to install and configure Memcached using Debian as an example - Image 7\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>This article contains general information on how to install and configure Memcached server, required php extensions, and how to install and configure phpMemcachedAdmin to collect statistics and analyze memcached server performance.<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[158],"tags":[],"class_list":["post-9153","post","type-post","status-publish","format-standard","hentry","category-dedicated-servers"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to install and configure Memcached using Debian as an example -<\/title>\n<meta name=\"description\" content=\"This article contains general information on how to install and configure Memcached server, required php extensions, and how to install\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to install and configure Memcached using Debian as an example -\" \/>\n<meta property=\"og:description\" content=\"This article contains general information on how to install and configure Memcached server, required php extensions, and how to install\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/\" \/>\n<meta property=\"og:site_name\" content=\"Unihost.FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/unihost\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-06T03:32:44+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-19T11:00:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png\" \/>\n<meta name=\"author\" content=\"Unihost Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@unihost\" \/>\n<meta name=\"twitter:site\" content=\"@unihost\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unihost Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/\"},\"author\":{\"name\":\"Unihost Support\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\"},\"headline\":\"How to install and configure Memcached using Debian as an example\",\"datePublished\":\"2020-08-06T03:32:44+00:00\",\"dateModified\":\"2023-01-19T11:00:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/\"},\"wordCount\":484,\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png\",\"articleSection\":[\"02. Dedicated servers\"],\"inLanguage\":\"en\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/\",\"url\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/\",\"name\":\"How to install and configure Memcached using Debian as an example -\",\"isPartOf\":{\"@id\":\"https:\/\/unihost.com\/help\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png\",\"datePublished\":\"2020-08-06T03:32:44+00:00\",\"dateModified\":\"2023-01-19T11:00:08+00:00\",\"description\":\"This article contains general information on how to install and configure Memcached server, required php extensions, and how to install\",\"breadcrumb\":{\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#primaryimage\",\"url\":\"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png\",\"contentUrl\":\"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unihost\",\"item\":\"https:\/\/unihost.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\/\/unihost.com\/help\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to install and configure Memcached using Debian as an example\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/unihost.com\/help\/#website\",\"url\":\"https:\/\/unihost.com\/help\/\",\"name\":\"Unihost.FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/unihost.com\/help\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/unihost.com\/help\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/unihost.com\/help\/#organization\",\"name\":\"Unihost\",\"alternateName\":\"Unihost\",\"url\":\"https:\/\/unihost.com\/help\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"contentUrl\":\"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png\",\"width\":300,\"height\":300,\"caption\":\"Unihost\"},\"image\":{\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/unihost\/\",\"https:\/\/x.com\/unihost\",\"https:\/\/www.instagram.com\/unihost\/?hl=en\",\"https:\/\/www.linkedin.com\/company\/unihost-com\",\"https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a\",\"name\":\"Unihost Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"caption\":\"Unihost Support\"},\"sameAs\":[\"https:\/\/unihost.com\/\"],\"url\":\"https:\/\/unihost.com\/help\/author\/support\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to install and configure Memcached using Debian as an example -","description":"This article contains general information on how to install and configure Memcached server, required php extensions, and how to install","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/","og_locale":"en_US","og_type":"article","og_title":"How to install and configure Memcached using Debian as an example -","og_description":"This article contains general information on how to install and configure Memcached server, required php extensions, and how to install","og_url":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/","og_site_name":"Unihost.FAQ","article_publisher":"https:\/\/www.facebook.com\/unihost\/","article_published_time":"2020-08-06T03:32:44+00:00","article_modified_time":"2023-01-19T11:00:08+00:00","og_image":[{"url":"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png","type":"","width":"","height":""}],"author":"Unihost Support","twitter_card":"summary_large_image","twitter_creator":"@unihost","twitter_site":"@unihost","twitter_misc":{"Written by":"Unihost Support","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#article","isPartOf":{"@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/"},"author":{"name":"Unihost Support","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a"},"headline":"How to install and configure Memcached using Debian as an example","datePublished":"2020-08-06T03:32:44+00:00","dateModified":"2023-01-19T11:00:08+00:00","mainEntityOfPage":{"@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/"},"wordCount":484,"publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"image":{"@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png","articleSection":["02. Dedicated servers"],"inLanguage":"en"},{"@type":"WebPage","@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/","url":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/","name":"How to install and configure Memcached using Debian as an example -","isPartOf":{"@id":"https:\/\/unihost.com\/help\/#website"},"primaryImageOfPage":{"@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#primaryimage"},"image":{"@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#primaryimage"},"thumbnailUrl":"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png","datePublished":"2020-08-06T03:32:44+00:00","dateModified":"2023-01-19T11:00:08+00:00","description":"This article contains general information on how to install and configure Memcached server, required php extensions, and how to install","breadcrumb":{"@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#primaryimage","url":"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png","contentUrl":"https:\/\/cdn.shortpixel.ai\/client\/q_lossy,ret_img,w_300\/https:\/\/unihost.com\/help\/wp-content\/uploads\/1memcached-300x22.png"},{"@type":"BreadcrumbList","@id":"https:\/\/unihost.com\/help\/how-to-install-and-configure-memcached-using-debian-as-an-example\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Unihost","item":"https:\/\/unihost.com\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/unihost.com\/help\/"},{"@type":"ListItem","position":3,"name":"How to install and configure Memcached using Debian as an example"}]},{"@type":"WebSite","@id":"https:\/\/unihost.com\/help\/#website","url":"https:\/\/unihost.com\/help\/","name":"Unihost.FAQ","description":"","publisher":{"@id":"https:\/\/unihost.com\/help\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unihost.com\/help\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/unihost.com\/help\/#organization","name":"Unihost","alternateName":"Unihost","url":"https:\/\/unihost.com\/help\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/","url":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","width":300,"height":300,"caption":"Unihost"},"image":{"@id":"https:\/\/unihost.com\/help\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/unihost\/","https:\/\/x.com\/unihost","https:\/\/www.instagram.com\/unihost\/?hl=en","https:\/\/www.linkedin.com\/company\/unihost-com","https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw"]},{"@type":"Person","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a","name":"Unihost Support","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/unihost.com\/help\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","caption":"Unihost Support"},"sameAs":["https:\/\/unihost.com\/"],"url":"https:\/\/unihost.com\/help\/author\/support\/"}]}},"_links":{"self":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/9153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/comments?post=9153"}],"version-history":[{"count":2,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/9153\/revisions"}],"predecessor-version":[{"id":9192,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/posts\/9153\/revisions\/9192"}],"wp:attachment":[{"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/media?parent=9153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/categories?post=9153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unihost.com\/help\/wp-json\/wp\/v2\/tags?post=9153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}