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.

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free