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/***.co.uk/httpdocs/subscribe.php on line 43

Anyone got any ideas what I'm doing wrong?

Many thanks
Simon

connecto, 9 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.

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free