centOS 7无法安装php-mbstring扩展 [英] centOS 7 Can't install php-mbstring extension
本文介绍了centOS 7无法安装php-mbstring扩展的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我尝试安装扩展mbstring,但是出现以下错误:
i've tried to install the extension mbstring but i have the following error:
Error: Package: php-mbstring-5.4.16-23.el7_0.3.x86_64 (updates)
Requires: php-common(x86-64) = 5.4.16-23.el7_0.3
Installed: php-common-5.4.38-1.el7.remi.x86_64 (@remi)
php-common(x86-64) = 5.4.38-1.el7.remi
Available: php-common-5.4.16-21.el7.x86_64 (base)
php-common(x86-64) = 5.4.16-21.el7
Available: php-common-5.4.16-23.el7_0.x86_64 (updates)
php-common(x86-64) = 5.4.16-23.el7_0
Available: php-common-5.4.16-23.el7_0.1.x86_64 (updates)
php-common(x86-64) = 5.4.16-23.el7_0.1
Available: php-common-5.4.16-23.el7_0.3.x86_64 (updates)
php-common(x86-64) = 5.4.16-23.el7_0.3
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
我该怎么做才能解决问题?
What could i do to resolve the problem ?
感谢您的帮助
推荐答案
对于想知道如何解决此问题的人:
For people who want to know how to solve this :
sudo yum remove php-common
然后您可以:
sudo yum install php-mbstring
它将自动安装依赖项(php常见)
It will automaticcaly install dependecies (php-common)
这篇关于centOS 7无法安装php-mbstring扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文