The AWS SDK for PHP Module comes with a drush make script:

; Drush Make (http://drupal.org/project/drush)
api = 2
core = 7.x

projects[awssdk][type] = library
projects[awssdk][download][type] = git
projects[awssdk][download][url] = https://github.com/amazonwebservices/aws-sdk-for-php.git
projects[awssdk][download][tag] = 1.5.10

projects[libraries] = 2

What do I need to do to get this SDK manually? I am running Windows and I ran into some issues trying to add the script using drush. I already tried adding the sdk folder to /sites/all/libraries as "awssdk" but that did not work as I keep getting "Failed to load the AWSSDK" in Drupal reporting.

1 Answer 1


Assuming you have git installed, you should be able to run the following from within your /sites/all/libraries directory:

git clone git://github.com/amazonwebservices/aws-sdk-for-php.git awssdk

Alternatively, you could use the Zip button on the Github project page or the link it points to to download the zip file and put it in a subdirectory of libraries directory called awssdk.

  • It didn't work at first and I could've sworn I cleared the cache before but after clearing the cache it went away. Thanks!
    – Adam
    Oct 31, 2012 at 23:31
  • Call should be git clone https://github.com/amazonwebservices/aws-sdk-for-php.git awssdk May 15, 2014 at 14:39

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.