{"id":1196,"date":"2021-10-16T22:58:53","date_gmt":"2021-10-16T13:58:53","guid":{"rendered":"https:\/\/labo.samuraistyle.org\/blog\/?p=1196"},"modified":"2021-10-16T23:09:34","modified_gmt":"2021-10-16T14:09:34","slug":"peclmemcached-%e3%81%af-memcached-%e3%81%ab%e3%82%bb%e3%83%83%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ae%e5%80%a4%e3%82%92%e5%85%a5%e3%82%8c%e3%82%8b%e3%81%a8%e3%81%8d%e3%81%ab%e5%9c%a7%e7%b8%ae%e3%81%97","status":"publish","type":"post","link":"https:\/\/labo.samuraistyle.org\/blog\/archives\/1196","title":{"rendered":"pecl::memcached \u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u5024\u3092 memcached \u306b\u5165\u308c\u308b\u3068\u304d\u306b\u5727\u7e2e\u3057\u306a\u3044"},"content":{"rendered":"<p>\u4e45\u3057\u3076\u308a\u306b\u66f8\u3044\u3066\u304a\u3044\u305f\u65b9\u304c\u826f\u3055\u305d\u3046(\u5fd8\u308c\u305d\u3046)\u306a\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3002<\/p>\n<p>LAN\u306e\u5965\u306e\u65b9\u3067\u3072\u3063\u305d\u308a\u3068\u52d5\u3044\u3066\u3044\u305fPHP 5.3(pecl::memcache)\u306a\u30b7\u30b9\u30c6\u30e0\u3092PHP 7.4(pecl::memcached)\u5316\u3057\u3066\u3044\u308b\u9014\u4e2d\u3067\u300c7.4\u306e\u65b9\u3060\u3051\u30bb\u30c3\u30b7\u30e7\u30f3\u304c\u5207\u308c\u308b\u300d\u3068\u3044\u3046\u3053\u3068\u304c\u3042\u3063\u305f\u3002<\/p>\n<p>\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u306f\u3053\u3093\u306a\u306e\u304c\u51fa\u3066\u3044\u305f\u3002<\/p>\n<blockquote><p>\nPHP Warning:  Unknown: error saving session to memcached: SUCCESS in Unknown on line 0, referer: \uff5e<br \/>\nPHP Warning:  Unknown: Failed to write session data (memcached). Please verify that the current setting of session.save_path is correct ( \uff5e ) in Unknown on line 0, referer: \uff5e\n<\/p><\/blockquote>\n<p>\u6700\u521d\uff1f\uff1f\uff1f\u3068\u3044\u3046\u611f\u3058\u3060\u3063\u305f\u3093\u3060\u3051\u3069\u3001\u826f\u304f\u30b3\u30fc\u30c9\u3092\u773a\u3081\u308b\u3068\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u5927\u304d\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5165\u308c\u3066\u3044\u308b\u7b87\u6240\u304c\u3042\u308a\u3001\u305d\u3053\u3067\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4fdd\u5b58\u306b\u5931\u6557\u3057\u3066\u3044\u308b\u3089\u3057\u3044\u3053\u3068\u304c\u308f\u304b\u3063\u305f\u3002<\/p>\n<p>5.3\u306e\u65b9\u306f\u52d5\u304f\u306e\u3067\u5b9f\u969b\u306bmemcached\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3044\u308b\u5024\u3092\u898b\u308b\u3068\u30d0\u30a4\u30ca\u30ea\u3063\u307d\u3044\u3082\u306e\u304c\u4fdd\u5b58\u3055\u308c\u3066\u3044\u3066\u3001\u3053\u306e\u3042\u305f\u308a\u3067pecl::memcache \u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4fdd\u5b58\u6642\u306b\u900f\u904e\u7684\u5727\u7e2e\u304c\u304b\u304b\u308b\u3051\u3069\u3001 pecl::memcached \u3060\u3068\u304b\u304b\u3089\u306a\u3044\u306e\u304b\uff1f\u3068\u3044\u3046\u4eee\u8aac\u306b\u305f\u3069\u308a\u7740\u3044\u305f\u3002<\/p>\n<p>\u3042\u3068\u306f\u5b9f\u969b\u306b\u62e1\u5f35\u306e\u30b3\u30fc\u30c9\u3092\u898b\u308c\u3070\u3088\u3044\u306e\u3060\u3051\u3069\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u62e1\u5f35\u306e\u30b3\u30fc\u30c9\u306e\u8ffd\u3044\u65b9\u306f<br \/>\n<a href=\"https:\/\/rti7743.hatenadiary.org\/entry\/20110213\/1297548206\">\u6211\u6162\u5f37\u3044\u4eba\u306e\u305f\u3081\u306epecl\u3067session_handler\u3092\u4f5c\u308b\u3002<\/a>\u3092\u53c2\u8003\u306b PS_WRITE_FUNC \u3092\u898b\u308c\u3070\u826f\u3044\u3068\u3042\u305f\u308a\u3092\u3064\u3051\u3066\u3001<a href=\"https:\/\/github.com\/php-memcached-dev\/php-memcached\/blob\/master\/php_memcached_session.c\">pecl::memcached \u306e\u30b3\u30fc\u30c9<\/a>\u3092\u898b\u308b\u3068\u5727\u7e2e\u3057\u3066\u3044\u308b\u3068\u3053\u308d\u306f\u306a\u3055\u305d\u3046\u3060\u3063\u305f(\u3061\u306a\u307f\u306b memcached_set() \u306f libmemcached \u306e\u95a2\u6570)\u3002<\/p>\n<p>\u3068\u3044\u3046\u3053\u3068\u3067\u3001\u30bb\u30c3\u30b7\u30e7\u30f3\u306b\u5927\u304d\u306a\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u5165\u308c\u308b\u306e\u3092\u3084\u3081\u308b\u304b\u3001memcached(\u30b5\u30fc\u30d0\u30fc\u306e\u65b9)\u306e\u8a2d\u5b9a\u3092\u5909\u3048\u308b\u304b\u3057\u306a\u3044\u3068\u304b\u306a..<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e45\u3057\u3076\u308a\u306b\u66f8\u3044\u3066\u304a\u3044\u305f\u65b9\u304c\u826f\u3055\u305d\u3046(\u5fd8\u308c\u305d\u3046)\u306a\u306e\u304c\u3042\u3063\u305f\u306e\u3067\u3002 LAN\u306e\u5965\u306e\u65b9\u3067\u3072\u3063\u305d\u308a\u3068\u52d5\u3044\u3066\u3044\u305fPHP 5.3(pecl::memcache)\u306a\u30b7\u30b9\u30c6\u30e0\u3092PHP 7.4(pecl::memcached)\u5316\u3057\u3066\u3044\u308b\u9014 &hellip; <a href=\"https:\/\/labo.samuraistyle.org\/blog\/archives\/1196\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">pecl::memcached \u306f\u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u5024\u3092 memcached \u306b\u5165\u308c\u308b\u3068\u304d\u306b\u5727\u7e2e\u3057\u306a\u3044<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[52,6],"class_list":["post-1196","post","type-post","status-publish","format-standard","hentry","category-tech","tag-memcached","tag-php"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/posts\/1196","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/comments?post=1196"}],"version-history":[{"count":2,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/posts\/1196\/revisions"}],"predecessor-version":[{"id":1198,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/posts\/1196\/revisions\/1198"}],"wp:attachment":[{"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/media?parent=1196"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/categories?post=1196"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/labo.samuraistyle.org\/blog\/wp-json\/wp\/v2\/tags?post=1196"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}