php7.1.18安装swoole扩展------码神帅

1. wget -c https://github.com/swoole/swoole-src/archive/v2.0.8.tar.gz  

2. tar -zxvf v2.0.8.tar.gz

3. cd swoole....

4. phpize

 5. ./configure

 6. make && make install

7. 最后要修改下php.ini  添加extension=swoole.so

8.重启php-fpm

9.php -m 查看有没有swoole即可

猜你喜欢

转载自blog.csdn.net/qq_39889272/article/details/81137214