How do I enable the SoapClient class after installing it?

September 26, 2016 6.8k views
WordPress Ubuntu 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.

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
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

Have another answer? Share your knowledge.