swoole 升级

swoole 升级,第1张

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

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/zaji/5433544.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-12-11
下一篇2022-12-11

发表评论

登录后才能评论

评论列表(0条)

    保存