首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Centos 6上安装php-mcrypt

在Centos 6上安装php-mcrypt
EN

Server Fault用户
提问于 2011-12-14 01:24:30
回答 1查看 12.2K关注 0票数 2

我试图在CentOS6.0,64位,php5.3.3上安装。我用的是epel回购rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/x86_64/epel-release-6-5.noarch.rpm,最后一个。

但是在我运行yum install php-mcrypt之后,我得到了一个错误

代码语言:javascript
复制
   [root@CentOS-60-64-minimal ~]# yum install php-mcrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: centos.kiewel-online.ch
 * epel: mirror.fraunhofer.de
 * extras: centos.kiewel-online.ch
 * rpmforge: ftp-stud.fht-esslingen.de
 * updates: centos.kiewel-online.ch
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-mcrypt.x86_64 0:5.1.6-5.el5 will be installed
--> Processing Dependency: php-api = 20041225 for package: php-mcrypt-5.1.6-5.el5.x86_64
--> Processing Dependency: libmcrypt.so.4()(64bit) for package: php-mcrypt-5.1.6-5.el5.x                                     86_64
--> Running transaction check
---> Package libmcrypt.x86_64 0:2.5.7-5.el5 will be installed
---> Package php-mcrypt.x86_64 0:5.1.6-5.el5 will be installed
--> Processing Dependency: php-api = 20041225 for package: php-mcrypt-5.1.6-5.el5.x86_64
--> Finished Dependency Resolution
**Error:** Package: php-mcrypt-5.1.6-5.el5.x86_64 (epel)
           **Requires: php-api = 20041225**
           Installed: php-common-5.3.3-3.el6_1.3.x86_64 (@updates)
               php-api = 20090626
           Available: php-common-5.3.3-3.el6.x86_64 (base)
               php-api = 20090626
 You could try using --skip-broken to work around the problem

为什么埃佩尔不给我最后的墓穴?php-mcrypt-5.1.6-5.el5.x86_64不是回购系统的最新版本。我能做什么?

EN

回答 1

Server Fault用户

发布于 2015-02-20 10:39:55

你可以试试这个:

wget http://dag.wieers.com/rpm/packages/libmcrypt/libmcrypt-2.5.7-1.2.el6.rf.x86_64.rpm

wget http://dag.wieers.com/rpm/packages/libmcrypt/libmcrypt-devel-2.5.7-1.2.el6.rf.x86_64.rpm

rpm -Uvh libmcrypt-*.rpm

我用了很长时间,没有任何问题。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/340709

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档