Release: AWS SDK for PHP 1.2.3

Release Notes>PHP>Release: AWS SDK for PHP 1.2.3
This release adds support for Amazon Simple Email Service.


Submitted By: RyanP
Release Date: January 25, 2011 5:21 PM GMT
Latest Version: 1.2.3
Created On: January 25, 2011 5:21 PM GMT
Last Updated: January 25, 2011 5:21 PM GMT


Download the AWS SDK for PHP

New Features

Change Description

Amazon Simple Email Service API Support

Amazon Simple Email Service is an email sending service that enables developers and businesses to easily, reliably, and cost-effectively manage email communications with their customers. Amazon SES exposes Amazon's email infrastructure as a web service that you can call by making simple API requests. For details, go to Amazon SES.

The following sample demonstrates how to send an email:

$email = new AmazonSES();

$response = $email->send_email(
    '', // Source (aka From)
    array('ToAddresses' => ''), // Destination (aka To)
    array( // Message (short form)
        'Subject.Data' => 'Email Test',
        'Body.Text.Data' => 'This is a simple test message ' . time()

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 2009-05-15
Amazon Elastic Compute Cloud (Amazon EC2) with Amazon Virtual Private Cloud (Amazon VPC) 2010-08-31
Amazon Elastic MapReduce (Amazon EMR) 2009-03-31
Amazon Relational Database Service (Amazon RDS) 2010-07-28
Amazon Simple Storage Service (Amazon S3) 2006-03-01
Amazon SimpleDB 2009-04-15
Amazon Simple Email Service 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 Elastic Beanstalk 2010-12-01
AWS Identity and Access Management 2010-05-08
AWS Import/Export 2010-06-01
Elastic Load Balancing (ELB) 2010-07-01

Migration Guide

From Release Notes


Simply replace the existing SDK package with the current release.


If you are using the AmazonCloudWatch class:

  • Replace the existing SDK package with the current release.

  • Update any calls to get_metric_statistics() with the new function signature.

If you are not using the AmazonCloudWatch class, simply replace the existing SDK package with the current release.

CloudFusion 2.5

A migration guide for customers wishing to upgrade from CloudFusion 2.5 to the AWS SDK for PHP 1.0 is located at

©2017, Amazon Web Services, Inc. or its affiliates. All rights reserved.