Question

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

Posted October 21, 2021 97 views
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!

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
1 answer

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?