mac下安装swoole扩展

时间:2016-06-01 10:21:30   收藏:0   阅读:1777

1:下载swoole源码,https://github.com/swoole/swoole-src/releases
2:tar -zxvf swoole.tgz
3:进入解压目录,输入:/usr/local/php/bin/phpize
4:./confiure --with-php-config=/usr/local/php/bin/php-config
5:make && make install
6:修改php.ini,extension=swoole.so

评论(0
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!