{"id":269,"date":"2012-12-10T15:49:42","date_gmt":"2012-12-10T15:49:42","guid":{"rendered":"https:\/\/shan.info\/new\/centos-6-memcached-php-5-3-x-ius-repo\/"},"modified":"2012-12-10T15:49:42","modified_gmt":"2012-12-10T15:49:42","slug":"centos-6-memcached-php-5-3-x-ius-repo","status":"publish","type":"post","link":"https:\/\/shan.info\/new\/centos-6-memcached-php-5-3-x-ius-repo\/","title":{"rendered":"centos 6 memcached php 5.3.x ius repo"},"content":{"rendered":"<p>\n\t&nbsp;<\/p>\n<div>\n\tyum install -y memcached<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\tyum install php53u-pecl-memcached<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n<div>\n\t\tyum install php53u-pecl-memcache<\/div>\n<div>\n\t\t\u00a0<\/div>\n<\/div>\n<div>\n\tservice memcached start<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\tchkconfig memcached on<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\t\u6d4b\u8bd5\u662f\u5426\u5b89\u88c5\u6210\u529f<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\tps aux|grep memcached&nbsp;<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\tphp.ini<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\t\u6dfb\u52a0&nbsp;<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\textension=&#8221;memcache.so&#8221; &nbsp;<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\t\u4fee\u6539\/etc\/init.d\/memcached\u6587\u4ef6<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\tCACHESIZE=1024<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\tservice memcached restart<\/div>\n<div>\n\t&nbsp;<\/div>\n<div>\n\t\/etc\/init.d\/httpd restart<\/div>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; yum install -y memcached &nbsp; yum install php53u-pecl-memcached &nbsp; yum install php53u-pecl-memcache \u00a0 service memcached start &nbsp; chkconfig memcached on &nbsp; \u6d4b\u8bd5\u662f\u5426\u5b89\u88c5\u6210\u529f &nbsp; ps aux|grep memcached&nbsp; &nbsp; php.ini &nbsp; \u6dfb\u52a0&nbsp; &nbsp; extension=&#8221;memcache.so&#8221; &nbsp; &nbsp; \u4fee\u6539\/etc\/init.d\/memcached\u6587\u4ef6 &nbsp; CACHESIZE=1024 &nbsp; service memcached restart &nbsp; \/etc\/init.d\/httpd restart<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[33],"tags":[],"class_list":["post-269","post","type-post","status-publish","format-standard","hentry","category-centos-6"],"_links":{"self":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/comments?post=269"}],"version-history":[{"count":0,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/posts\/269\/revisions"}],"wp:attachment":[{"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/media?parent=269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/categories?post=269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shan.info\/new\/wp-json\/wp\/v2\/tags?post=269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}