AWS PHP SDK Version 2 S3 putObject Error
问题 So the AWS php sdk 2.x library has been put out recently and I've taken a turkey day plunge into upgrading from 1.5x. My first was to upgrade my S3 backup class. I've quickly run into an error: Fatal error: Class 'EntityBody' not found in /usr/share/php/....my file here when trying to upload a zipped file to an S3 bucket. I wrote a class to abstract the writing a bit to allow for multi-region backup, so the code below references to $this are that. $response1 = $s3->create_object( $this-