How do I enable the SoapClient class after installing it?

Posted September 26, 2016 12.6k views
WordPressUbuntu 16.04

When viewing the System Status of WooCommerce on my WordPress install, I noticed this message: “SoapClient: Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.”

So I went ahead and figured out how to install the SoapClient here: Does Digitalocean support SOAP class?

After installing it, I refreshed the System Status page and the message was the same.

Is there a way to enable this? I feel like that step still needs to be completed, just not sure how.

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.

3 answers

I believe my issue may have been Cache related. Recently checking the System Settings page of WooCommerce and it shows that this is ok now.

Make sure to restart your server after installing the SoapClient with:

sudo systemctl restart apache2

Had the same issue. Did a yum --enablerepo=ius-archive install php71u-soap. Extension got installed as I saw:

[root@Unixserver modules]# php -m | grep -i soap

Still got the warning in WooCommerce. Even after I restarted Nginx using service nginx restart

Then I /etc/init.d/php-fpm restart and that did the trick

Submit an Answer