How to install and turn on soap

To install soap in Ubuntu/Debian, run the command:

sudo apt-get install php-soap

In CentOS like this:

sudo yum install php-soap

Look for the name of the package, if that’s possible:

apt-cache search php | grep -i soap
yum search php | grep -i soap

You can activate/deactivate the module like this:

sudo phpenmod soap
sudo phpdismod soap

Restart Apache2 to apply the changes:

sudo service apache2 restart

Let’s see if soap is activated:

php -i | grep -i soap

Leave a comment

Leave a Reply