标签:
1.下载swoole
2.解压并配置
| /usr/local/php/bin/phpize |
| ./configure --with-php-config=/usr/local/php/bin/php-config |
3.swoole提供了一些配置选项,当中如果要开启--enable-async-redis的话,必须安装hiredis扩展
| git clone https://github.com/antirez/hiredis.git |
| make && make install |
| ldconfig |
4.编译安装
| make |
| make install |
标签:
原文地址:http://www.cnblogs.com/yiyide266/p/5495593.html