我正在使用aws-sdk-php创建预签名URL,用于将文件上传到S3存储桶。GET的URL正在运行。这是代码$client=S3Client::factory(array('region'=>'eu-west-1','key'=>'xxx','secret'=>'xxx',));//option1$command=$client->getCommand('PutObject',array('Bucket'=>'myBucket','Key'=>'testing/signedPHP1_'.time(),'ContentType'=>'image/jpeg','Body'=>'dump'