{"id":3033,"date":"2012-10-03T01:29:43","date_gmt":"2012-10-03T01:29:43","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=3033"},"modified":"2016-10-09T18:07:17","modified_gmt":"2016-10-09T18:07:17","slug":"install-memcache","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/install-memcache\/","title":{"rendered":"Install memcache"},"content":{"rendered":"<p>Memcache is a  memory caching system and its developed by the  Danga Interactive. We can install the memcache on the cPanel server by using the following steps.<\/p>\n<p>Login into the server as root user.<\/p>\n<p>Download and install the latest stable memcache version from PECL URL.<\/p>\n<p>    <strong>cd \/usr\/src<br \/>\n    wget http:\/\/pecl.php.net\/get\/memcache-2.2.5.tgz<br \/>\n    tar zxvf memcache-2.2.5.tgz<br \/>\n    cd memcache-2.2.5<br \/>\n    phpize<br \/>\n    .\/configure<br \/>\n    make<br \/>\n    make install<\/strong><\/p>\n<p>Once installation completed, make sure that memcache.so is included in the server mains php.ini file.Search the php.ini file<\/p>\n<p>    <strong>php -i | grep php.ini<br \/>\n    Configuration File (php.ini) Path => \/usr\/local\/lib<br \/>\n    Loaded Configuration File => \/usr\/local\/lib\/php.ini<\/strong><\/p>\n<p>As soon as php.ini file path found out open a php.ini file and add the following line and restart the Apache web service.<\/p>\n<p>    <strong>extension = \u201cmemcache.so\u201d<\/strong><\/p>\n<p>Now check if memcache extension is loaded or not in the php, execute the following command.<\/p>\n<p><strong>    php -i | grep memcach<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>Memcache is a memory caching system and its developed by the Danga Interactive. We can install the memcache on the cPanel server by using the <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/install-memcache\/\" title=\"Install memcache\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":4319,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[58],"tags":[],"class_list":["post-3033","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/3033"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=3033"}],"version-history":[{"count":3,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/3033\/revisions"}],"predecessor-version":[{"id":4320,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/3033\/revisions\/4320"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media\/4319"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=3033"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=3033"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=3033"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}