安装好PHP7后,接着安装swoole出现下面问题
[root@localhost src]# yum install pcre-devel
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: centos.ustc.edu.cn
* extras: mirrors.cqu.edu.cn
* updates: ftp.sjtu.edu.cn
软件包 pcre-devel-8.32-17.el7.x86_64 已安装并且是最新版本
无须任何处理
[root@localhost src]# pecl install swoole
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
Could not download from "https://pecl.php.net/get/swoole-4.4.3.tar", cannot download "pecl/swoole" (Connection to `ssl://pecl.php.net:443' failed: Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?)
Error: cannot download "pecl/swoole"
Download failed
install failed
[root@localhost src]# pecl channel-up
CentOS7安装swoole问题及解决方法

在CentOS7上安装PHP7后尝试通过pecl安装swoole遇到困难,问题在于下载速度极慢。考虑使用源码安装,通过wget下载swoole-4.4.3.tgz,但下载过程同样遭遇龟速。寻求更快的swoole安装方案。

最低0.47元/天 解锁文章
1324

被折叠的 条评论
为什么被折叠?



