mac下安装swoole扩展

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

posted @ 2016-06-01 10:07  月上海棠  阅读(1971)  评论(0编辑  收藏  举报