pecl 安装指定版本php扩展(swoole)

1.pecl 搜索扩展包(这里以安装swoole 1.9.23 为例)

详细教程:http://github.crmeb.net/u/defu

通过搜索进入扩展包页面 https://pecl.php.net/package/swoole
找到需要安装的版本 swoole-1.9.23.tgz (https://pecl.php.net/get/swoole-1.9.23.tgz)

 
image

2.pecl 安装扩展包

执行安装 pecl install https://pecl.php.net/get/swoole-1.9.23.tgz
我这里之前安装过,所以本次安装失败了

 
 

通过 php --ri swoole 查看扩展的详细信息

 
 

3.总结

其他php扩展安装方式一致



作者:仙凌阁
链接:http://github.crmeb.net/u/defu
来源:百搜论坛
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。详细

posted @ 2021-04-09 15:13  仙凌阁  阅读(1719)  评论(0编辑  收藏  举报