I was trying to upload the image to s3 bucket but i am getting this warning while upload
S3::inputFile(): Unable to open input file:
using authorization method as
$s3 = new S3(awsAccessKey, awsSecretKey)
and while i was trying to get contents by using this $s3->getBucket($bucketName) return warning as
The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256
Can anyone help me to resolve this