{"id":64880,"date":"2017-11-27T14:42:46","date_gmt":"2017-11-27T14:42:46","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/clinical-memcachier\/"},"modified":"2017-11-28T10:52:31","modified_gmt":"2017-11-28T10:52:31","slug":"clinical-memcachier","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/clinical-memcachier\/","author":12863020,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.4","stable_tag":"trunk","tested":"4.9.31","requires":"3.0","requires_php":"5.0","requires_plugins":null,"header_name":"Clinical Memcachier","header_author":"Code Clinic KreativAgentur","header_description":"","assets_banners_color":"","last_updated":"2017-11-28 10:52:31","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/codeclinic.de","header_plugin_uri":"http:\/\/www.codeclinic.de\/plugins","header_author_uri":"http:\/\/www.codeclinic.de","rating":5,"author_block_rating":0,"active_installs":0,"downloads":1272,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["installation","changelog","description"],"tags":[],"upgrade_notice":{"":"<p>Replace object-cache.php in wp-config base, after updating plugin<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[262246],"plugin_tags":[149997,11135,42765,14512,3781],"plugin_category":[],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-64880","plugin","type-plugin","status-publish","hentry","plugin_section-dashboard-widgets","plugin_tags-clinical","plugin_tags-memcached","plugin_tags-memcachier","plugin_tags-remote","plugin_tags-service","plugin_committers-munklefish"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/clinical-memcachier.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=installation-->\n<ol>\n<li><p>Make sure you have <a href=\"http:\/\/libmemcached.org\/libMemcached.html\">libmemcached<\/a> installed, built with SASL. See the <a href=\"http:\/\/il1.php.net\/manual\/en\/memcached.requirements.php\">Memcached Requirements<\/a>.<\/p><\/li>\n<li><p>Install the <a href=\"http:\/\/il1.php.net\/manual\/en\/memcached.installation.php\">Memcached ver. 2.2.0 PECL package<\/a>.<\/p><\/li>\n<li><p>Define the Memcached servers and SASL credentials in your wp-config.php, as follows:<\/p>\n\n<pre><code>global $memcached_servers;\n$memcached_servers = array( array( 'host', port ) );\n\nglobal $memcached_username;\n$memcached_username = 'sasl_username';\n\nglobal $memcached_password;\n$memcached_password = 'sasl_password';\n<\/code><\/pre><\/li>\n<li><p>Alternatively, set the environment variables, <code>MEMCACHE_SERVERS<\/code>, <code>MEMCACHE_USERNAME<\/code> and <code>MEMCACHE_PASSWORD<\/code>. The expected format for <code>MEMCACHE_SERVERS<\/code> is <code>'server1:port1,server2:port2,server3:port3'<\/code>.<\/p><\/li>\n<\/ol>\n\n<p><strong>Note:<\/strong> If running on Heroku or AppFog, just install the MemCachier add-on and your conifguration environment variables will be set.<\/p>\n\n<ol>\n<li><p>Move object-cache.php to wp-content\/object-cache.php<\/p><\/li>\n<li><p>To test the WordPress object cache setup, add the following code as an MU plugin:<\/p>\n\n<pre><code>`php\n<\/code><\/pre>\n\n<p>&lt;?php\n$key   = 'dummy';\n$value = '100';<\/p>\n\n<p>$dummy_value = wp_cache_get( $key );<\/p>\n\n<p>if ( $value !== $dummy_value ) {\n    echo \"The dummy value is not in cache. Adding the value now.\";\n    wp_cache_set( $key, $value );\n} else {\n    echo \"Value is \" . $dummy_value . \". The WordPress Memcached Backend is working!\";\n}\n    `<\/p>\n\n<p>After adding the code, reload your WordPress site twice. On the second load, you should see a success message printed at the top of the page. Remove the MU plugin after you've verified the setup.<\/p><\/li>\n<\/ol>\n\n<!--section=changelog-->\n<p>0.4 Packaged for release on WP repo<\/p>\n\n<!--section=description-->\n<p>This is a WordPress object cache backend that supports the MemCachier caching service. It requires <a href=\"http:\/\/pecl.php.net\/package\/memcached\">Memcached ver. 2.2.0 PECL package<\/a> or greater for SASL support. This is a fork of <a href=\"https:\/\/github.com\/tollmanz\/wordpress-pecl-memcached-object-cache\">tollmanz<\/a> object cache, adding SASL and binary protocol support for cloud based caches.<\/p>\n\n<h3>Credits<\/h3>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/tollmanz\/wordpress-memcached-backend\">wordpress-memcached-backend<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/RedisLabs\/wordpress-memcached-backend\">RedisLabs SASL support<\/a><\/li>\n<\/ul>","raw_excerpt":"This is a WordPress object cache backend that supports the MemCachier caching service. It requires Memcached ver. 2.2.0 PECL package or greater for SA &hellip;","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/64880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=64880"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/munklefish"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=64880"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=64880"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=64880"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=64880"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=64880"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=64880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}