简体   繁体   English

安装php-devel

[英]Install php-devel

I would like to install php-devel on my server(CentOS 6.5). 我想在我的服务器(CentOS 6.5)上安装php-devel。

yum install php-devel

However, I encountered the following error. 但是,我遇到以下错误。

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

Could you tell me how to solve this problem? 你能告诉我如何解决这个问题吗?

It's because you have to chose between packages 5.4 and 5.3 这是因为您必须在5.4和5.3软件包之间进行选择

i'll suggests to do : 我建议这样做:

yum remove php.*

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM