centOS下安装mcrypt扩展

admin 2015年3月11日11:45:05系统文档评论1,739 次浏览阅读模式

安装magento时,提示需要安装一个mcrypt扩展,用来加密用的,于是在命令行下输入#yum install php-mcrypt*,在拉了一圈到 is this oK后,我输入y,下面出现错误。

warning: rpmts_HdrFromFdno: Header V3 DSA signature: NOKEY, key ID ******。

于是上网狂搜到一通,似乎是因为安装了旧版本的GPG KEYS 造成的,找到解决办法,命令行输入:

rpm –import /etc/pki/rpm-gpg/RPM*。

再输入yum install php-mcrypt*,一切OK,最后提示完成安装。重启web服务器,再次安装magento,警告提示消失。安装成功。

相关文章
weinxin
我的微信
微信扫一扫
admin
  • 本文由 发表于 2015年3月11日11:45:05
  • 转载请务必保留本文链接:https://anyun.org/a/jishuguanzhu/xitongwendang/2015/0311/5058.html

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: