INSTALLATION
Windows Azure SDK for PHP requires no special installation steps. Simply download the SDK,
extract it to the folder you would like to keep it in, and add the library directory
to your PHP include_path.
INSTALLATION VIA PEAR
Maarten Balliauw provides an unofficial PEAR channel. Here's how to use it:
New installation:
pear channel-discover pear.pearplex.netpear install pearplex/PHPAzureOr if you've already installed PHPAzure before:
pear upgrade pearplex/PHPAzureSYSTEM REQUIREMENTS
Windows Azure SDK for PHP requires PHP 5.2.4 or later.
CONFIGURING THE INCLUDE PATH
Once you have a copy of Windows Azure SDK for PHP available, your application will need to
access the SDK classes. Though there are several ways to achieve this, your PHP include_path
needs to contain the path to the Windows Azure SDK for PHP classes under the /library
directory in this distribution. You can find out more about the PHP include_path
configuration directive here:
http://www.php.net/manual/en/ini.core.php#ini.include-path
Instructions on how to change PHP configuration directives can be found here:
http://www.php.net/manual/en/configuration.changes.php
GETTING STARTED
The /tests directory in this distribution contains various samples on how to work with
Windows Azure SDK for PHP.
CHANGES
- Update to Windows Azure Storage REST version 2009-09-19
- Enhancements to Shared Key authentication
- Support for page blobs
- New naming rules for container, blob, and queue metadata
- Blob snapshots
- Blob leases
- Enhanced control over publicly accessible container and blob resources
- Anonymous access to the root container
- Additional options for enumerating containers, blobs, and queues
- Additional blob properties
- A DequeueCount property for messages, which indicates how many times a message has been dequeued
- Support for configuring Windows Azure Diagnostics