O'Reilly logo

VMware vCloud Director Cookbook by Daniel Langenhan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Accessing vCD via PHP

This is how you use PHP to work with vCloud.

Getting ready

Download the PHP vCloud API for vCloud from http://www.vmware.com/go/vcloudsdkforphp.

I assume you will use PHP on Linux, so you might need a Linux VM with PHP libraries and the PHP base configuration. You probably need the HTTP_Request2 and Net_URL2 libraries.

Untar the download into the directory from where you would like to use the files. Place the new script in the main directory (vCloudPHP-5.1.2). You can move them; however, that requires you to reconfigure the pointer to the libraries.

If you are playing on a Windows environment, the base install might be different and you will need to follow the instructions that come with the Windows installer.

How to do it...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required