Question

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

  • Posted October 21, 2021
  • PHP

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!

Subscribe
Share

Submit an 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?