Question

SOAP extension for Nginx PHP 7.4 not installing where it is expected

I installed the SOAP package using:

apt-get install php-soap

Now it seems to be installed for PHP 7.0 but I can’t find the location of the extension in order to specify it in my php.ini file for 7.4

Under the directory /etc/php/7.0/fpm/conf.d there is a link:

/etc/php/7.0/fpm/conf.d# ls -l
20-soap.ini -> /etc/php/7.0/mods-available/soap.ini

But under /etc/php/7.4/fpm/conf.d there is not.

Where is the soap.so extension actually located?


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.

Hi @campinjay,

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?