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、重启服务 

原文地址:https://www.cnblogs.com/happyday56/p/9111595.html