Report this

What is the reason for this report?

What repo can I add that has SOAP for PHP 7.4?

Posted on October 21, 2021

I am trying to add the SOAP extension to PHP7.4 but right now it’s only installing for version 7.0.

Running apt-cache policy php-soap gives me two 7.0 versions only. I’ve added the ondrej PPA but that doesn’t have it either.

Any ideas? Thanks!



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!

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.

Hi @jayca6a26e839704c55c3c523d,

It seems to me if you’ve installed PHP 7.4 you already have the proper repository but when you are trying apt-cache policy php-soap it gives you information only about PHP 7.0.

Can you try

apt-get install php7.4-soap

To see what happens and if it works?

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.