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

posted @ 2022-01-26 18:11  码农编程进阶笔记  阅读(68)  评论(0编辑  收藏  举报
返回顶部 有事您Q我