How to enable SOAP in php on linux(Debian 9/10)?

Share Now

1.Assuming you do not see anything about SOAP in the phpinfo, see what PHP SOAP packages might be available to you.

apt-cache search php | grep -i soap

2.In Ubuntu/Debian you can install with:

sudo apt-get install php-soap

After the installation, you might need to place an ini file and restart Apache.

Picture of Nahid Mahamud

Nahid Mahamud

Web Developer | Graphic Designer | WordPress & Woo-commerce Expert