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

swoole 升级

 遇到问题:

通过pecl 升级时,报错-bash: pecl: command not found

执行,安装pecl

yum install php-devel php-pear httpd-devel

报错:

swoole 升级

yum clean all  #执行 清除缓存

再次执行

yum install php-devel php-pear httpd-devel

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-01-14
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-07
  • 2022-12-23
猜你喜欢
  • 2021-11-12
  • 2022-12-23
  • 2021-08-24
  • 2021-09-18
  • 2022-01-30
  • 2021-05-03
  • 2021-10-22
相关资源
相似解决方案