<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://shiyoka.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://shiyoka.com/feed.php">
        <title>ClownWiki - redis</title>
        <description></description>
        <link>https://shiyoka.com/</link>
        <image rdf:resource="https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg" />
       <dc:date>2026-05-08T15:13:20+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=redis:1st&amp;rev=1739713984&amp;do=diff"/>
                <rdf:li rdf:resource="https://shiyoka.com/doku.php?id=redis:sample001&amp;rev=1739713984&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg">
        <title>ClownWiki</title>
        <link>https://shiyoka.com/</link>
        <url>https://shiyoka.com/lib/exe/fetch.php?media=wiki:dokuwiki.svg</url>
    </image>
    <item rdf:about="https://shiyoka.com/doku.php?id=redis:1st&amp;rev=1739713984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>1st</title>
        <link>https://shiyoka.com/doku.php?id=redis:1st&amp;rev=1739713984&amp;do=diff</link>
        <description>Redis

公式
&lt;http://redis.io/&gt;

クイックスタート
&lt;http://redis.io/topics/quickstart&gt;

2.0.3日本語訳ドキュメント
&lt;http://redis.shibu.jp/&gt;

Install

from yum


yum -y --enablerepo=remi,eplp install redis php-redis


from src


# wget http://download.redis.io/redis-stable.tar.gz
# tar xvzf redis-stable.tar.gz
# cd redis-stable
# make</description>
    </item>
    <item rdf:about="https://shiyoka.com/doku.php?id=redis:sample001&amp;rev=1739713984&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-02-16T13:53:04+00:00</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>sample001</title>
        <link>https://shiyoka.com/doku.php?id=redis:sample001&amp;rev=1739713984&amp;do=diff</link>
        <description>sample


&lt;?php

class RedisService {

   private $redis;

   /**
    * コンストラクタ
    */
   public function __construct() {

       $hostname = &#039;localhost&#039;;
       $port = 6379;

       $this-&gt;redis = new Redis();

       if (!$this-&gt;redis-&gt;connect($hostname, $port)) {
           throw new Exception(&#039;fail connect redis server.&#039;);
       }
   }

   /**
    * デストラクタ
    */
   public function __destruct() {
       $this-&gt;redis-&gt;close();
   }

   public function setValue($key, $value) {
       $this-&gt;r…</description>
    </item>
</rdf:RDF>
