Php samples I get error

I downloaded the php5 samples but when I enter data in the subscribe.php file and hit submit I get a fatal error

Fatal error: Class 'SoapClient' not found in /var/www/vhosts/*** on line 43

Anyone got any ideas what I'm doing wrong?

Many thanks

connecto, 8 years ago

this simply means the soap extension isn't installed.

If your using a local php install like wamp, you simply have to go to the php extensions and activate the php_soap extension. If your on a web server, you can check if soap is enabled by running <?= phpinfo(); ?>

If soap is disabled, you should enable or install it on the webserver.

200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free