centos7安裝swoole出現的問題

安裝好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-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

情況如下

慢到懷疑人生,儘管只有1M多,用迅雷本地下載也是一樣龜速

 

有更好的安裝swoole的方法嗎,歡迎分享方法,在此先謝過

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章