swoole 升级
1.源码编译安装
git clone https://gitee.com/swoole/swoole.git
cd swoole
/opt/remi/php73/root/usr/bin/phpize
./configure --with-php-config=/opt/remi/php73/root/usr/bin/phpize
make && make install
2.简单命令行(这种没成功)
pecl upgrade swoole
遇到问题:
通过pecl 升级时,报错-bash: pecl: command not found
执行,安装pecl
yum install php-devel php-pear httpd-devel
报错:
yum clean all #执行 清除缓存
再次执行
yum install php-devel php-pear httpd-devel
赞赏码
非学,无以致疑;非问,无以广识