生命不息
折腾不止

VestaCP更新PHP7.X版本后Webmail邮箱服务RoundCube不可用解决办法

继上次更新VestaCP面板的PHP版本到7.X后,博主发现Webmail邮箱服务变成了404,无法打开RoundCube的界面。

以下是上次的教程:

Centos7下Vestacp面板升级php版本到7.1

现在,博主就带来解决这一问题的方法。

本文只以Centos7为例。其他系统也可作为参考!

先下载RoundCube的新版本,本文以下载RPM来进行安装。镜像使用清华大学开源镜像

https://mirrors.tuna.tsinghua.edu.cn/remi/enterprise/7/remi/x86_64/roundcubemail-1.3.4-1.el7.remi.noarch.rpm

安装

rpm -i --nodeps roundcubemail-1.3.4-1.el7.remi.noarch.rpm

完成后,来修复RoundCube。

依次执行下面的命令,但要特别注意与自己的VestaCP面板版本相匹配,不同版本地址会不同。(P.S:每个wget开头为完整一条命令)

wget c.vestacp.com/0.9.8/rhel/httpd-webmail.conf -O /etc/httpd/conf.d/roundcubemail.conf
wget c.vestacp.com/0.9.8/rhel/roundcube-main.conf -O /etc/roundcubemail/main.inc.php
wget c.vestacp.com/0.9.8/rhel/roundcube-db.conf -O /etc/roundcubemail/db.inc.php
wget c.vestacp.com/0.9.8/rhel/roundcube-driver.php -O  /usr/share/roundcubemail/plugins/password/drivers/vesta.php
wget c.vestacp.com/0.9.8/rhel/roundcube-pw.conf -O /usr/share/roundcubemail/plugins/password/config.inc.php
chmod a+r /etc/roundcubemail/*

最后,重启httpd或是nginx,但不知道是不是必须的,但做了也无妨,对吧!

至此,久违的RoundCube界面又回来了!

 

 

 

 

赞(1) 赞赏
版权声明:本文采用知识共享 署名4.0国际许可协议 [BY-NC-SA] 进行授权,转载请联系作者。
文章名称:《VestaCP更新PHP7.X版本后Webmail邮箱服务RoundCube不可用解决办法》
文章链接:https://wangjunwei.com/website/vestacp/655.html
本站资源仅供个人学习交流,请于下载后24小时内删除,不允许用于商业用途,否则法律问题自行承担。

评论 抢沙发

似水流年--王俊伟个人博客

联系博主关注我们

觉得文章有用就打赏一下文章作者

非常感谢你的打赏,我们将继续给力更多优质内容,让我们一起创建更加美好的网络世界!

微信扫一扫

登录

找回密码

注册