下载地址:
http://code.google.com/p/phpredis//php/bin/phpize
./configure --with-php-config=/php/bin/php-config
make
make install
[backcolor= transparent]
[backcolor= transparent]php代码测试
$redis = new Redis();
$redis->connect(‘127.0.0.1′,6379);
$redis->set(‘test’,'hello world!’);
echo $redis->get(‘test’);