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
Подписаться на IT Blog (RU) по Email
Subscribe to IT Blog (EN) by Email

Did my article help you? How about buying me a cup of coffee as an encouragement? Buy me a coffe.

Leave a Reply