php

Centos7 安装 Swoole

yum install php-devel

错误信息

Connection to `ssl://pecl.php.net:443′ failed

下载证书

http://curl.haxx.se/ca/cacert.pem

重命名并复制到  /etc/pki/tls/certs/ca-bundle.crt

赋予权限 chmod 744 /etc/pki/tls/certs/ca-bundle.crt

更新 pecl channel-update pecl.php.net

安装swoole

pecl install swoole

留言

您的电子邮箱地址不会被公开。 必填项已用 * 标注