Release: AWS SDK for PHP 1.3.7

Release Notes>PHP>Release: AWS SDK for PHP 1.3.7
This release adds support for SNS Notifications and recurring scheduled events in Auto Scaling, and resolves issues reported via the documentation feedback form.


Submitted By: RyanP
Release Date: July 26, 2011 1:01 AM GMT
Latest Version: 1.3.7
Created On: July 26, 2011 1:01 AM GMT
Last Updated: July 26, 2011 1:01 AM GMT


Download the latest AWS SDK for PHP

New Features

Change Description

Auto Scaling Features: SNS Notifications and Recurring Scheduled Events

With Amazon SNS notifications, you can now be notified whenever Auto Scaling launches or terminates Amazon EC2 instances for you. Because it uses Amazon SNS, you can choose to receive notifications in formats that are best suited to you and your applications, including HTTP/HTTPS, Email/Email-JSON, or Amazon SQS.

Using Recurrence for scheduled scaling activities, you can now scale your Auto Scaling group on a repeating schedule.

To learn more about Auto Scaling, visit:

Resolved Issues

Change Description

Documentation Errors

A number of minor typographical errors have been resolved.

Object Version URLs

The documentation for AmazonS3::get_object_url() has been updated to document the versionId parameter.

Known Issues

Issue Description

2GB limit for 32-bit stacks

Because PHP's integer type is signed and many platforms use 32-bit integers, the AWS SDK for PHP does not correctly handle files larger than 2GB on a 32-bit stack (whereby "stack" includes CPU, OS, web server, and PHP binary). This is a well-known PHP issue.

The recommended solution is to use a 64-bit stack, such as the 64-bit Amazon Linux AMI with the latest version of PHP installed.

For more information, please see: PHP filesize: Return values. A workaround is suggested in AmazonS3::create_mpu_object() with files bigger than 2GB.

Expiring request signatures

When leveraging AmazonS3::create_mpu_object(), it's possible that later parts of the multipart upload will fail if the upload takes more than 15 minutes.

Too many open file connections

When leveraging AmazonS3::create_mpu_object(), it's possible that the SDK will attempt to open too many file resources at once. Because the file connection limit is not available to the PHP environment, the SDK is unable to automatically adjust the number of connections it attempts to open.

The solution is to increase the part size so that fewer file connections are opened.

Exceptionally large batch requests

When leveraging the batch request feature to execute multiple requests in parallel, it's possible that the SDK will throw a fatal exception if a particular batch pool is exceptionally large and a service gets overloaded with requests.

This seems to be most common when attempting to send a large number of emails with the SES service.

Supported API Versions

The AWS SDK for PHP supports the following services and API versions:

Service API Version
Amazon CloudFront 2010-11-01
Amazon CloudWatch 2010-08-01
Amazon Elastic Compute Cloud (Amazon EC2) with Amazon Virtual Private Cloud (Amazon VPC) 2011-05-15
Amazon Elastic MapReduce (Amazon EMR) 2009-03-31
Amazon Relational Database Service (Amazon RDS) 2011-04-01
Amazon Simple Storage Service (Amazon S3) 2006-03-01
Amazon SimpleDB 2009-04-15
Amazon Simple Email Service (Amazon SES) 2010-12-01
Amazon Simple Notification Service (Amazon SNS) 2010-03-31
Amazon Simple Queue Service (Amazon SQS) 2009-02-01
Auto Scaling 2010-08-01
AWS CloudFormation 2010-05-15
AWS Elastic Beanstalk 2010-12-01
AWS Identity and Access Management 2010-05-08
AWS Import/Export 2010-06-01
Elastic Load Balancing (ELB) 2011-04-05
©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.