centos7安装swoole出现的问题

安装好PHP7后,接着安装swoole出现下面问题

centos7安装swoole出现的问题_第1张图片

 

[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-update pecl.php.net
Updating channel "pecl.php.net"
Update of Channel "pecl.php.net" succeeded
[root@localhost src]# pecl install swoole
No releases available for package "pecl.php.net/swoole"
install failed

pecl是很方便,弄了半天没弄好,有知道如何处理的吗

换个方向,准备源码安装swoole,

wget http://pecl.php.net/get/swoole-4.4.3.tgz

情况如下

centos7安装swoole出现的问题_第2张图片

慢到怀疑人生,尽管只有1M多,用迅雷本地下载也是一样龟速

 

有更好的安装swoole的方法吗,欢迎分享方法,在此先谢过

你可能感兴趣的:(linux)