{"id":1493,"date":"2009-08-18T23:00:54","date_gmt":"2009-08-18T14:00:54","guid":{"rendered":"http:\/\/mimumimu.net\/blog\/2009\/08\/18\/centos-5-3-%e3%81%abapc%ef%bc%88alternative-php-cache%ef%bc%89%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%80%82\/"},"modified":"2012-04-21T18:27:54","modified_gmt":"2012-04-21T09:27:54","slug":"centos-5-3-%e3%81%abapc%ef%bc%88alternative-php-cache%ef%bc%89%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%80%82","status":"publish","type":"post","link":"https:\/\/mimumimu.net\/blog\/2009\/08\/18\/centos-5-3-%e3%81%abapc%ef%bc%88alternative-php-cache%ef%bc%89%e3%82%92%e3%82%a4%e3%83%b3%e3%82%b9%e3%83%88%e3%83%bc%e3%83%ab%e3%80%82\/","title":{"rendered":"CentOS 5.3 \u306bAPC\uff08Alternative PHP Cache\uff09\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3002"},"content":{"rendered":"<p>&#160;<\/p>\n<p>\u3069\u3046\u3082\u3002Mimura \u3067\u3059\u3002<\/p>\n<p>\u6700\u8fd1\u306f\u3044\u308d\u3044\u308d\u3068\u307e\u305f\u5fd9\u3057\u304f\u306a\u3063\u3066\u304d\u3066\u3001\u3053\u3063\u3061\u306e\u4f5c\u696d\u3092\u3067\u304d\u308b\u6642\u9593\u304c\u307b\u3057\u3044\u306a\u3041\u3002\u3068\u601d\u3046\u4eca\u65e5\u3053\u306e\u9803\u3067\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<p>STEP_M\u306e\u62e1\u5f35\u306e\u4ef6\u306b\u3064\u304d\u307e\u3057\u3066\u306f\u3001\u672c\u5bb6\u3067\u3042\u308a\u307e\u3059STEP\u306e\u65b9\u3067\u30d9\u30fc\u30bf\u7248\u3067\u3059\u304c AAC (m4a) \u306e\u30bf\u30b0\u4ed8\u3051\u304c\u3061\u3083\u3093\u3068\u884c\u3048\u308b\u7528\u306b\u306a\u3063\u3066\u3044\u307e\u3057\u305f\u306e\u3067\u3001    <br \/>\u73fe\u5728\u3001\u672c\u5bb6\u306e\u4f5c\u8005\u3067\u3042\u308a\u307e\u3059 haseta \u69d8\u3078\u65b9\u6cd5\u3092\u304a\u805e\u304d\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u3067\u3059\u3002<\/p>\n<p>STEP\u306e\u65b9\u3067\u3082\u30a2\u30eb\u30d0\u30e0\u30a2\u30fc\u30c6\u30a3\u30b9\u30c8\u3068\u4f5c\u8a5e\u8005\u30bf\u30b0\u306b\u5bfe\u5fdc\u3055\u308c\u305f\uff08\u30d9\u30fc\u30bf\u306b\u3066\uff09\u3088\u3046\u3067\u3059\u306e\u3067\u3001    <br \/>STEP_M\u306e\u610f\u5473\u306f\u3082\u3046\u307b\u307c\u8584\u308c\u3066\u3044\u308b\u3093\u3058\u3083\u306a\u3044\u304b\u3002\u3068\u601d\u3063\u3066\u304a\u308a\u307e\u3059\u3002<\/p>\n<p>\u30fb\u30fb\u6687\u304c\u3067\u304d\u305f\u3089\u3001\u3044\u3063\u305d1\u304b\u3089\u7d44\u307f\u76f4\u3057\u3066 UNICODE \u306b\u30cd\u30a4\u30c6\u30a3\u30d6\u5bfe\u5fdc\u3055\u305b\u305f\u3044\u306a\u3041\u30fb\u30fb\u3002\u3068\u5bc6\u304b\u306b\u91ce\u671b\u3092\u62b1\u3044\u3066\u3044\u307e\u3059\u3002    <br \/>\u305d\u3046\u3059\u308c\u3070\u3001\u5404\u56fd\u8a9e\u306e\u30bf\u30b0\u3068\u304b\u304c\u5316\u3051\u305a\u306b\u3044\u3044\u611f\u3058\u306b\u30fb\u30fb\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u9591\u8a71\u4f11\u984c\u3002<\/p>\n<p>\u6bce\u5ea6\u306e\u3088\u3046\u306bRSS\u3067\u6c17\u306b\u306a\u308b\u65b9\u306e\u30d6\u30ed\u30b0\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u3044\u307e\u3057\u3066\u3001    <br \/>\u3075\u3068\u601d\u3063\u305f\u3053\u3068\u3068\u3057\u3066\u3001\u53cb\u4eba\u306e\u30d6\u30ed\u30b0\uff08\u672c\u30b5\u30fc\u30d0\u4e0a\u3067\u904b\u55b6\u3055\u308c\u3066\u3044\u307e\u3059\u3002\uff09\u306e\u8868\u793a\u6642\u9593\u306b\u304b\u306a\u308a\u6642\u9593\u3092\u8981\u3059\u308b\u306a\u3041\u3002\u3068\u3002<\/p>\n<p>\u305d\u3093\u306a\u308f\u3051\u3067\u3001WordPress \u306e\u9ad8\u901f\u5316\u306e\u76ee\u7684\u3067\u3001APC (Alternative PHP Cache) \u3092\u5c0e\u5165\u3057\u307e\u3057\u305f\u3002<\/p>\n<p>\u305f\u3076\u3093\u3001\u672c\u8a18\u4e8b\u306e\u8868\u793a\u306b\u969b\u3057\u3066\u3082\u3001\u5f93\u6765\u3068\u6bd4\u8f03\u3057\u3066\u82e5\u5e72\u9ad8\u901f\u5316\u3057\u305f\u306e\u3067\u306f\u306a\u3044\u3067\u3057\u3087\u3046\u304b\u3002    <br \/>\uff08\u53cb\u4eba\u306e\u30d6\u30ed\u30b0\u306b\u3064\u3044\u3066\u306f\u304b\u306a\u308a\u30ec\u30b9\u30dd\u30f3\u30b9\u304c\u3088\u304f\u306a\u308a\u307e\u3057\u305f\u3002\uff09<\/p>\n<p>&#160;<\/p>\n<p>\u307e\u305a\u3001\u5c0e\u5165\u306b\u5f53\u305f\u308a yum \u30b3\u30de\u30f3\u30c9\u3067\u308f\u3093\u3055\u304b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002    <br \/>\uff08\u3053\u308c\u3060\u304b\u3089 Linux \u306f\u30fb\u30fb\u3002 Windows \u306b\u3082\u3053\u3046\u3044\u3046\u306e\u642d\u8f09\u3057\u3066\u307f\u305f\u3089\u304a\u3082\u3057\u308d\u3044\u306e\u306b\u30fb\u30fb\u3002\u30fb\u30fb\u76f8\u5f53\u81a8\u5927\u306b\u306a\u308a\u305d\u3046\u3002\u3067\u30fb\u30fb\u3067\u3082Vector \u3055\u3093\u3042\u305f\u308a\u3068\u5354\u529b\u3057\u3066\uff08\uff52\uff59\uff09<\/p>\n<p>\uff08\u3082\u3061\u308d\u3093\u4e8b\u524d\u306b\u3001<code>su<\/code> \u3067 root \u6a29\u9650\u306b\u306a\u308b\u304b\u3001\u30b3\u30de\u30f3\u30c9\u306e\u524d\u306b <code>sudo<\/code> \u3068\u6253\u3063\u3066root \u306b\u306a\u3063\u3066\u304f\u3060\u3055\u3044\u3002\uff09<\/p>\n<p><code># yum install php-devel php-pear gcc httpd-devel<\/code><\/p>\n<p>\u3053\u306e1\u884c\u3067\u5fc5\u8981\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u5168\u3066\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3055\u308c\u307e\u3059\u3002\uff08\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u304b\uff1f \u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u98db\u3070\u3057\u305f\u3044\u65b9\u306f\u3001 \u2013y \u30aa\u30d7\u30b7\u30e7\u30f3\u3092\u3064\u3051\u3066\uff09<\/p>\n<p>&#160;<\/p>\n<p>\u6b21\u306b\u3001pecl \u30b3\u30de\u30f3\u30c9\u3067 apc \u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3059\u3002<\/p>\n<p><code># pecl install apc<\/code><\/p>\n<p>\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u9032\u3081\u3066\u3044\u304f\u3068\u3001 <\/p>\n<p><code>Use apxs to set compile flags (if using APC with Apache)? [yes] :<\/code><\/p>\n<p>\u3053\u3046\u3044\u3046\u8cea\u554f\u304c\u51fa\u3066\u304d\u307e\u3059\u306e\u3067\u3001\u69cb\u308f\u305a Enter \u30ad\u30fc\u3092\u62bc\u305b\u3070OK\u3067\u3059\u3002    <br \/>\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306f\u3044\u3044\u611f\u3058\u3067\u9032\u3093\u3067\u3044\u304d\u307e\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u6700\u5f8c\u306b\u3001php.ini \u306b\u4e00\u884c\u66f8\u3044\u3066\u304f\u308c\u3002\u3068\u8a00\u308f\u308c\u307e\u3059\u306e\u3067\u3001 <\/p>\n<p><code>vi \/etc\/php.d\/apc.ini<\/code><\/p>\n<p>\u3067\u8d77\u52d5\u3057\u3001[i] \u30ad\u30fc\u3067\u633f\u5165\u30e2\u30fc\u30c9\u306b\u5165\u308a\u3001<\/p>\n<p><code>extension=apc.so<\/code><\/p>\n<p>\u3068\u66f8\u3044\u3066\u3001 Esc \u2013&gt; :q \u3067\u7d42\u4e86\u3002<\/p>\n<p>\u3042\u3068\u306f\u3001<\/p>\n<p><code>service httpd restart<\/code><\/p>\n<p>\u3067\u518d\u8d77\u52d5\u3059\u308c\u3070OK\u3067\u3059\u3002<\/p>\n<p>&#160;<\/p>\n<p>\u8a2d\u7f6e\u3057\u3066\u307f\u305f\u7d50\u679c\u3068\u3057\u3066\u3001\u30b0\u30e9\u30d5\u306a\u3069\u306f\u793a\u305b\u307e\u305b\u3093\u304c\u3001   <br \/>\u4f53\u611f\u3068\u3057\u3066\u3068\u3063\u3066\u3082\u65e9\u304f\u306a\u308a\u307e\u3057\u305f\u3002    <br \/>\uff08\u4ed6\u306e\u30b5\u30a4\u30c8\u3067\u30b0\u30e9\u30d5\u3092\u63b2\u8f09\u3057\u3066\u3042\u308b\u30b5\u30a4\u30c8\u304c\u3042\u308a\u307e\u3059\u306e\u3067\u3001\u305d\u3061\u3089\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\uff09<\/p>\n<p>WordPress \u304c\u9045\u304f\u3066\u56f0\u3063\u3066\u3044\u308b\u30b5\u30a4\u30c8\u7ba1\u7406\u4eba\u69d8\u3002\u3082\u3057\u3088\u308d\u3057\u3051\u308c\u3070\u5c0e\u5165\u3057\u3066\u307f\u3066\u306f\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#160; \u3069\u3046\u3082\u3002Mimura \u3067\u3059\u3002 \u6700\u8fd1\u306f\u3044\u308d\u3044\u308d\u3068\u307e\u305f\u5fd9\u3057\u304f\u306a\u3063\u3066\u304d\u3066\u3001\u3053\u3063\u3061\u306e\u4f5c\u696d\u3092\u3067\u304d\u308b\u6642\u9593\u304c\u307b\u3057\u3044\u306a\u3041\u3002\u3068\u601d\u3046\u4eca\u65e5\u3053\u306e\u9803\u3067\u3059\u3002 &#160; STEP_M\u306e\u62e1\u5f35\u306e\u4ef6\u306b\u3064\u304d\u307e\u3057\u3066\u306f\u3001\u672c\u5bb6\u3067\u3042\u308a\u307e\u3059STEP\u306e [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,12],"tags":[299,301,288,300],"class_list":["post-1493","post","type-post","status-publish","format-standard","hentry","category-web","category-software","tag-alternative-php-cache","tag-apc","tag-centos-5-3","tag-300"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/1493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/comments?post=1493"}],"version-history":[{"count":0,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/posts\/1493\/revisions"}],"wp:attachment":[{"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/media?parent=1493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/categories?post=1493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mimumimu.net\/blog\/wp-json\/wp\/v2\/tags?post=1493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}