Can't install php-soap to my PHP 7.0 centos

Posted June 25, 2018 11.3k views


I’m trying to install ext-soap to my php server. I have PHP 7.0 but when i say

“yum install php-soap” it tries to install soap for 5.4.6.
Here’s my error log:

–> Running transaction check
—> Package php-soap.x8664 0:5.4.16-45.el7 will be installed
–> Processing Dependency: php-common(x86-64) = 5.4.16-45.el7 for package: php-soap-5.4.16-45.el7.x86
–> Running transaction check
—> Package php-common.x8664 0:5.4.16-45.el7 will be installed
–> Processing Conflict: php70u-common-7.0.30-1.ius.centos7.x86
64 conflicts php-common < 7.0.30
–> Processing Conflict: php70u-json-7.0.30-1.ius.centos7.x8664 conflicts php-json < 7.0.30
–> Finished Dependency Resolution
Error: php70u-json conflicts with php-common-5.4.16-45.el7.x86
Error: php70u-common conflicts with php-common-5.4.16-45.el7.x86_64
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

How can I install for php 7.0?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers

you can try

yum install --skip-broken php-soap

OR try

yum remove php*

before running the install

yum install php-soap

yum install php70w-soap