标签:ext sudo 没有 arch alt configure dev install get
标签(空格分隔): php
https://github.com/swoole/swoole-src/releases
直接wget也行直接下载到本机
1. wget https://github.com/swoole/swoole-src/archive/v4.2.12.tar.gz
2. cd swoole-src-4.2.12
3. php phpize | 如果ubunut没有安装phpize 则执行:sudo apt-get install php-dev
4. ./configure --with-php-config=/usr/local/php/bin/php-config
5. make && make install
6. vim php.ini 最后一行添加:extension=swoole
7. phpinfo() 查看
标签:ext sudo 没有 arch alt configure dev install get
原文地址:https://www.cnblogs.com/yanweifeng/p/10307583.html