php安装swoole扩展

1.安装swoole扩展

# wget https://github.com/swoole/swoole-src/archive/master.zip
# unzip master.zip
# cd master
# /www/server/php/72/bin/phpize
# ./configure --with-php-config=/www/server/php/72/bin/php-config
# make && make install

 

2、php加载swoole扩展

extension=/xxx/xxx/72/lib/php/extensions/no-debug-non-zts-20170718/swoole.so

3、重启服务 

posted @ 2018-05-30 16:21  快乐就好  阅读(1113)  评论(0编辑  收藏  举报