For some reason the AWS SDK changed from numeric version numbers to a string version in the latest release:

Not exactly sure how we want to deal with this. One possibility seems to be to detect version number form the XML files that still use a numeric version. I am hoping this is a mistake which I have posted an issue to find out (

For those who just want a fix
If you want to fix locally make the following change or checkout the version branch of my fork

Members fund testing for the Drupal project. Drupal Association Learn more


boombatower’s picture

Title: Determine how to deal with non-numeric version of SDK » Determine how to deal with non-numeric version of SDK (fix for SDK 1.5.6)
981 bytes

Update title for those looking for fix and attached a patch for quick application or drush make script.

boombatower’s picture

Assigned: Unassigned » boombatower
Category: feature » task
Status: Active » Needs review
820 bytes

This will patch against the make file for awssdk will add the patch in #1 to the Amazon SDK to reversion the version number. If you are building your site using drush make files you can simply add this patch to the awssdk in your drush make to alter it's make file before it is parsed.

For anyone looking for a quick fix use #1 or my github fork and/or does not know what all the drush make stuff is about.

boombatower’s picture

Amazon employee confirmed it was an accident, so we just need to wait and see how they fix.

DrupalDan’s picture

@boombatower, I made the change in the sdk.class.php and it seems that it works! But what also follows that is the message that: Your PHP environment does not support the minimum requirements for the AWS SDK for PHP. I suppose it has something to do with SSL, right? Is there any way around to make local sites have SSL to meet the mini requirements, so that we can test everything out before moving into a production site?

Thanks for the fix and everything.

seaji’s picture

What the path to sdk.class.php should be?
I tried:
None worked for me.
I use:
- sdk-1.5.6
- AWS SDK for PHP 7.x-5.3
- pached version of sdk.class.php from

boombatower’s picture

The path should be sites/all/libraries/awssdk/sdk.class.php. Cleared cache and all? otherwise please open a support request.

boombatower’s picture

@DrupalDan: By having SSL it means that curl can make requests with SSL not that the site is setup so that the webserver can accept incoming requests over SSL (https). Meaning you do not need to install certificates and what not you should just enable ssl in curl configuration or install appropriate extensions. In many cases you need to install the package that contains the list of certificate authorities so that it works.

DrupalDan’s picture

Hi boombatower, good to hear from you again.

I google "enable curl" and I found that I can enable curl by uncommenting the line in php.ini


I checkeded the status report and the message in red is gone and everything seems work! I'm just a little cruious as to the installation of the package as you suggested. Do you mean it is better to enable curl by installing any package related for this purpose instead of making the change in php.ini?

I wouldn't be able to figure everything out and get things working without your help. Thanks for everything!

seaji’s picture

Cache clear helped me.

boombatower’s picture

Status: Needs review » Fixed

@DrupalDan: Depending on your distribution (assuming linux) there should be a package to enable curl for you. Additionally there should be one for the certificates, but if you are on windows or you may already have it installed then you are fine. Good to hear it worked out.

Amazon made an updated release with the fix to the version constant. I have listed the 1.5.6 release as incompatible on the compatibility page ( and linked to this issue for the patch. Otherwise things should work with the latest release, but please re-open or file a new issue if they do not.

DrupalDan’s picture

@boombatower, good to hear from you again! My local site is on windows but my server is linux, I think. I will check with my hosting provider to know how to enable curl with that package. Again, thanks for everything.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

clevername’s picture

Also be sure to enable SSL module for Apache if you're getting the cUrl SSL error in the compatibility test screen. This can be down from Ubuntu with:
sudo a2enmod ssl