Questions tagged «aws-php-sdk»

30
AWS S3-如何解决“我们计算出的请求签名与签名不匹配”错误?
我已经在网上搜索了两天以上,并且可能已经浏览了大多数在线记录的方案和解决方法,但是到目前为止,对我来说没有任何帮助。 我在运行于PHP 5.3的适用于PHP V2.8.7的AWS开发工具包上。 我正在尝试使用以下代码连接到我的S3存储桶: // Create a `Aws` object using a configuration file $aws = Aws::factory('config.php'); // Get the client from the service locator by namespace $s3Client = $aws->get('s3'); $bucket = "xxx"; $keyname = "xxx"; try { $result = $s3Client->putObject(array( 'Bucket' => $bucket, 'Key' => $keyname, 'Body' => 'Hello …
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.