Release: AWS SDK for PHP 1.3.4

Release Notes>PHP>Release: AWS SDK for PHP 1.3.4
This release adds support for Oracle databases to Amazon RDS, enables Security Groups with Amazon ELB, supports local AZ pricing for spot instances, improves user control over certain aspects of SSL connections, and fixes issues reported to the forums.


Submitted By: RyanP
Release Date: June 8, 2011 12:22 AM GMT
Latest Version: 1.3.4
Created On: June 8, 2011 12:22 AM GMT
Last Updated: June 8, 2011 12:22 AM GMT


Download the latest AWS SDK for PHP

New Features

Change Description

Oracle with Amazon RDS

Using Amazon RDS and the AWS SDK for PHP, an Oracle database can be provisioned and maintained in a manner similar to MySQL.

For more information, please see

Security Groups with Elastic Load Balancing

Elastic Load Balancing provides a special Amazon EC2 security group that you can use to ensure that a back-end Amazon EC2 instance receives traffic only from its load balancer.

For more information, please see Using Security Groups with Elastic Load Balancing.

Local Availability Zone Pricing

Support for Local Availability Zone Pricing has been added to the SDK.

For more information, please see Release: Amazon EC2 on 2011-05-26.

Additional Debug Mode

The lower-level cURL interface provides a method for disabling SSL certificate verification, and as such, we have now exposed this as the disable_ssl_verification() method, available in all service classes.

This is intended to be used only for debugging SSL connection issues. Since disabling SSL certificate verification can enable man-in-the-middle attacks, usage of this option will also throw an E_USER_WARNING.

Do not use this option in a production environment.

Resolved Issues

JSON responses as stdClass objects

Some JSON objects are valid JSON, yet are not translated into stdClass objects when decoded. JSON responses that are not decoded into stdClass objects are no longer parsed.

For more information, please see Bug in PHP SDK.

SSL Certificate Issues

The SSL patch that shipped with the 1.3.3 release resolved SSL issues for some users, but caused new issues for other users. This patch allows users to opt-in to using a custom certificate via the config file. AWS_CERTIFICATE_AUTHORITY is a new entry in the sample file.

Setting the value to (boolean) false will use the Certificate Authority available in the PHP environment. This is the default value and is preferable in most cases.


If you encounter regularly-occuring SSL connection errors, set the value to (boolean) true to use the custom Certificate Authority file that is bundled as part of the SDK.


Alternatively, setting the value to an absolute file system path for a cacert.pem file will use that Certificate Authority file instead.

define('AWS_CERTIFICATE_AUTHORITY', '/path/to/cacert.pem');

For more information, please see cURL error: SSL certificate problem (60) with aws-sdk-for-php 1.3.3 and SSL Connection Issues: Possible Solution?.

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.

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

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-02-28
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.