Download
Download the latest AWS SDK for PHP
New Features
| Change | Description |
|---|---|
|
Amazon SQS |
The latest version of the AWS SDK for PHP enables developers to take advantage of several exciting new features in the Amazon SQS API: delay queues, message timers, and the ability to send or delete multiple messages in a single request (batch operations). Delay queues can be used to apply a uniform delay to all messages. Alternatively, message timers can be used to apply a delay to specific messages that can be sent individually, or in a batch. New support for batch send and delete operations complements the existing batch receive functionality. With batch operations many workloads will benefit from improved single thread message throughput, reduced connection overhead and lower API call latencies. For more information, please see the Amazon SQS New Features: Delay Queues, Message Timers and Batch APIs. |
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. |
|
S3 Buckets containing periods |
Amazon S3's SSL certificate covers domains that match However, when a bucket name contains one or more periods (e.g., The most secure workaround is to change the bucket name to one that does not contain periods. Less secure workarounds are to use |
|
Expiring request signatures |
When leveraging |
|
Too many open file connections |
When leveraging A workaround 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 ElastiCache | 2011-07-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) | 2011-10-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 |
| AWS Security Token Service | 2011-06-15 |
| Elastic Load Balancing (ELB) | 2011-08-15 |