How To install AWS SDK for PHP in wordpress?

  • Install Amazon Web Services Plugin. (https://wordpress.org/plugins/amazon-web-services/)
  • Add all the required keys, at the AWS menu that now should be available in your WP dashboard.
  • Include the library in your code, in my case was:

    require ‘/path/to/plugins/amazon-web-services/vendor/aws/aws-autoloader.php’;

  • Enjoy!

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)