安装swoole扩展

wget https://github.com/swoole/swoole-src/archive/v1.9.3-stable.tar.gz
tar -zxvf v1.9.3-stable.tar.gz
 cd swoole-src-1.9.3-stable/
/usr/local/php/bin/phpize
 
./configure --enable-async-mysql
make && make install

安装成功会返回路径
vi user/local/php/etc/php.ini
extension=返回路径/swoole.so

  

posted @ 2017-08-01 14:16  spectrelb  阅读(216)  评论(0编辑  收藏  举报