title: How to create new VM using VMware VSphere API via PHP
body: <p>I'm trying to create a new Virtual Machine in VSphere via specifications entered into a web form POSTed to php.  I found the method call <a href="http://pubs.vmware.com/vsphere-51/index.jsp#com.vmware.wssdk.apiref.doc/vim.Folder.html?path=7_0_0_2_5_3_76#createVm" rel="nofollow">CreateVM_Task</a> (scroll 70% of the way down) which seems to be the right API call.  My problem is how to connect the php to this API call.  The documentation for VSphere is plentiful, but I'm having trouble getting what I need.</p>