如何在CentOS 6.2上使用PHP安装mbstring

时间:2015-02-05 13:01:20

标签: php centos install

我安装yum install php55w 我试试

# yum install php-mbstring

Failed to set locale, defaulting to C
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
 * base: mirror.telepoint.bg
 * epel: mirrors.neterra.net
 * extras: mirror.telepoint.bg
 * updates: mirror.telepoint.bg
 * webtatic: uk.repo.webtatic.com
Resolving Dependencies
--> Running transaction check
---> Package php-mbstring.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-40.el6_6 for package: php-mbstring-5.3.3-40.el6_6.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-40.el6_6 will be installed
--> Processing Conflict: php55w-common-5.5.21-1.w6.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-40.el6_6.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

每当我收到此错误时,无论我做什么。

如何解决这个问题

1 个答案:

答案 0 :(得分:2)

您是否尝试过安装php55-mbstring?所以:

yum install php55-mbstring