
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
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)