phpredis编译安装

DOWNLOAD

You can get the lastest version of phpredis directly from the svn repository:

svn checkout http://phpredis.googlecode.com/svn/trunk/ phpredis-read-only

INSTALLING

phpize
./configure
make
&& make install

EXAMPLE

$redis = new Redis();
$redis
->connect('127.0.0.1', 6379);

$redis
->set('key', 'val');

echo $redis
->get('key');


你可能感兴趣的:(phpredis编译安装)