异步Redis
wget https://github.com/redis/hiredis/archive/v0.13.3.tar.gz
tar -zxf v0.13.3.tar.gz
cd hiredis-0.13.3
make -j
make installcd swoole-2.2.0
./configure --enable-async-redis
make clean
make -j
make installphp --ri swoolevi ~/.bash_profile 在最后一行添加 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib source ~/.bash_profile
资料
附录:安装redis服务器
Last updated