This tutorial assumes you are using any webserver with PHP5 installed and working properly.
Step 1: Enable the soap extension in your php.ini
If you downloaded pre-compiled platform binaries, they may have ext/soap compiled in but not loaded, so you'll
need to update your PHP configuration to load ext/soap. Edit your php.ini, and look for the Dynamic Extensions
section. Add a line (or removed the ';' in front), this will cause the extension to be loaded automatically.
On Windows: extension=php_soap.dll
On UNIX: extension=php_soap.so
If you haven't previously loaded any optional extensions, you may also have to set the extension_dir directive
to point to the directory containing the extension libraries, including php_soap, for example:
extension_dir="C:/php/ext/" (use forward slashes even on Windows)
Don't try to put directory information in the extension directive; use extension_dir if necessary.
Step 2: Paste the following code in a .php file (this is just an example)