centos中roundcubemail 配置时第三方库pear安装问题

centos中roundcubemail 配置时第三方库pear安装问题

  • 问题
  • 分析
  • 解决方法
  • -----------分界线-----------

问题

在centos系统中安装roundcubemail时,通过浏览器配置roundcubemail时第三方库pear会确少一些类。如图:
centos中roundcubemail 配置时第三方库pear安装问题_第1张图片

分析

在网上搜索之后,大多教程都只是说用pear install ‘库名’来进行安装(http://blog.sina.com.cn/s/blog_6a48815b0102wfp1.html)。但是在实际安装过程中,会报错:No releases available for package "pear.php.net/Net_SMTP",搜到的解决方法说要用pear channel-update pear.php.net更新pear,但是也解决不了,会更新不了,报错如下Cannot retrieve channel.xml for channel "pear.php.net" (Connection to “ssl://pear.php.net:443”failed: )
这个连接说要更新证书(https://crowall.com/topic/314),我是没有成功,大家可以试试。
最终使用下面方法成功解决:

解决方法

 yum install ca-certificates

我用的是centos,所以用yum,其它的能需要改成apt-get
然后

pear install Net_SMTP

成功!!!!!!!!

PS:我的方法可能只适用部分情况,大家选择性参考,有哪里错误的还望留言告诉我。谢谢!

-----------分界线-----------

(以下为更新内容)

上面的方法貌似有些问题。
之后直接更换了安装方法。直接从网上下载对应的安装包,然后源码安装,解决了。不是很麻烦,大家可以用这个方法。
源码安装直接用pear install 源码文件
centos中roundcubemail 配置时第三方库pear安装问题_第2张图片
centos中roundcubemail 配置时第三方库pear安装问题_第3张图片

希望有大佬解决这个问题后能够不吝赐教。

你可能感兴趣的:(环境配置,centos,roundcubemail,pear)