I would be thankful if someone help me out in solving this issue.
I am using codeigniter framwork for my project. And Want to upload my image into amazon s3 bucket. When i am trying to use the S3.php file & putObjectfile() for uploading I am getting the error as
string(92) "The authorization mechanism you have provided is not supported. Please use AWS4-HMAC-SHA256."
Can someone help me out in solving this issue.
您能否尝试以下方法:
$s3Client = S3Client::factory(array('key'=>YOUR_AWS_KEY, 'secret'=>YOUR_AWS_SECRET, 'signature' => 'v4'));
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.