2015-06-04 59 views
0

我想在我的服务器上安装php-devel(CentOS 6.5)。安装php-devel

yum install php-devel 

但是,我遇到了以下错误。

Error: php54-cli conflicts with php-cli-5.3.3-40.el6_6.x86_64 
Error: php54 conflicts with php-5.3.3-40.el6_6.x86_64 
Error: php54-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 

你能告诉我如何解决这个问题吗?

+2

这或许应该被迁移到[serverfault(http://serverfault.com /)。 –

回答

0

这是因为你有包5.4和5.3

我会建议做之间进行选择:

yum remove php.* 

sudo yum install php53-common php5-devel php5-cli