memcached
篠原 隆司
事前条件など
PHPライブラリのインストール
# yum --enablerepo=remi,epel install php-pecl-memcached
# /etc/init.d/httpd restart
設定ファイル
# vi /etc/sysconfig/memcached
PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESIZE="64"
OPTIONS=""
利用状況を視覚化
memcache.php stats like apc.php
And here is the the source code.
上記サイトで「source code」をクリックしてダウンロード。
解凍して、サーバにアップ、20~29行目で環境設定、ブラウザからアクセスして確認。