I wanted to create a SoapClient object, I used following code, but when I run this code following error is apppear,
Error: Class SoapClient not found,
My PHP version is 5.2.6, how can I overcome this ?
$client = new SoapClient('http://api.google.com/GoogleSearch.wsdl');
Error when creating SoapClient object
Moderator: General Moderators
Re: Error when creating SoapClient object
You have to enable the Soap extension.
What is your OS and if it is Windows what you are using as a server (I mean the bundles like xamp, wamp, or installed everything separatelly)?
What is your OS and if it is Windows what you are using as a server (I mean the bundles like xamp, wamp, or installed everything separatelly)?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: Error when creating SoapClient object
Moved to Installation and Configuration.