I want to upload images using php to the S3 bucket.
But I keep getting this error
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256
I have tried to find a solution for this issue. but all solutions suggest using "AWS SDK".
I m aware that I have to set the signature to Version 4 and change the endpoint since my bucket is in Frankfurt.
But I don't know how to customize the class I'm using for uploading.
https://github.com/tpyo/amazon-s3-php-class/blob/master/S3.php