Question

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

Hello,

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.x86_64 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_64 –> Running transaction check —> Package php-common.x86_64 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.x86_64 conflicts php-json < 7.0.30 –> Finished Dependency Resolution Error: php70u-json conflicts with php-common-5.4.16-45.el7.x86_64 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?


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

you can try

yum install --skip-broken php-soap

OR try

yum remove php*

before running the install

yum install php-soap

try, yum install php70w-soap