yum install php-bcmath要求:php-common(x86-64)= 5.3.3-22.el6 [英] yum install php-bcmath Requires: php-common(x86-64) = 5.3.3-22.el6

查看:1833
本文介绍了yum install php-bcmath要求:php-common(x86-64)= 5.3.3-22.el6的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我运行centos 6,我试图:

Im running centos 6, and I tried to:

yum安装php-bcmath,我得到了这个错误:

yum install php-bcmath, i got this error:

yum install php-bcmath
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirror.checkdomain.de
 * epel: mirror.de.leaseweb.net
 * extras: mirror.checkdomain.de
 * rpmforge: mirror.de.leaseweb.net
 * updates: mirror.checkdomain.de
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package php-bcmath.x86_64 0:5.3.3-22.el6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-22.el6 for package: php-bcmath-5.3.3-22.el6.x86_64
--> Finished Dependency Resolution
Error: Package: php-bcmath-5.3.3-22.el6.x86_64 (base)
           Requires: php-common(x86-64) = 5.3.3-22.el6
           Installed: php-common-5.4.9-1.el6.remi.x86_64 (@remi-test)
              php-common(x86-64) = 5.4.9-1.el6.remi
           Available: php-common-5.3.3-22.el6.x86_64 (base)
              php-common(x86-64) = 5.3.3-22.el6
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

请帮助,

感谢

推荐答案

发现问题来自新的PHP版本(5.4,5.4),它安装在单独的repo中。

所以,我们只需要使用命令在主要repo(版本5.3)中安装php-bcmath:

I found out problem comes from the new PHP version (5.4, 5.4), which installed in a separate repo.
So, we just need to install php-bcmath in the main repo (version 5.3) using command:

yum install php-bcmath --enablerepo=remi



<是主要仓库,您可以转到 /etc/yum.repos.d ,然后使用 ll

这篇关于yum install php-bcmath要求:php-common(x86-64)= 5.3.3-22.el6的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆