问题
I have installed a fresh 64-bit CentOS 6.5 with PHP5, Mysql5.5, etc.
Now when I want to install different apache modules, like php-soap, I get this error:
---> Package php-soap.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-27.el6_5 for package: php-soap-5.3.3-27.el6_5.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-27.el6_5 will be installed
--> Processing Conflict: php55w-common-5.5.12-1.w6.x86_64 conflicts php-common < 5.5.0
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-27.el6_5.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I use this command to install php-soap:
yum --enablerepo=webtatic install php-soap
回答1:
I just found the solution to my issue!
use the following command to install php-soap:
yum install php55w-soap
Hope this helps!
回答2:
I have installed postfix and dovecot on my Centos. I am using Interspire Email marketer (IEM) which needs php-imap module. I installed squirrelmail and can send out mails as well as receive mails using squirrelmail interface. But using IEM I always get error that imap module is not installed so I tried the following and got the errors below. I am totally confused what I should do. I thought if squirrelmail can read mails, IEM should also be able to read. If I must install php-imap again, what to do with all the errors below.
yum install php-imap
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink | 4.4 kB 00:00
* base: centos.webwerks.com
* epel: mirror.premi.st
* extras: centos.webwerks.com
* updates: centos.webwerks.com
* webtatic: sp.repo.webtatic.com
base | 3.7 kB 00:00
extras | 3.4 kB 00:00
updates | 3.4 kB 00:00
webtatic | 3.6 kB 00:00
Resolving Dependencies
--> Running transaction check
---> Package php-imap.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Dependency: php-common(x86-64) = 5.3.3-48.el6_8 for package: php-imap-5.3.3-48.el6_8.x86_64
--> Running transaction check
---> Package php-common.x86_64 0:5.3.3-48.el6_8 will be installed
--> Processing Conflict: php55w-common-5.5.38-1.w6.x86_64 conflicts php-common < 5.5
--> Finished Dependency Resolution
Error: php55w-common conflicts with php-common-5.3.3-48.el6_8.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
回答3:
I use the following command to solve the same issue:
yum remove php*
yum install php55w-soap
回答4:
yum -y install php55w php55w-fpm php55w-soap php55w-opcache php55w-xml php55w-mcrypt php55w-gd php55w-devel php55w-mysql php55w-intl php55w-mbstring php55w-bcmath
来源:https://stackoverflow.com/questions/23919341/error-php55w-common-conflicts-with-php-common-on-centos-6-5