Welcome Guest, Not a member yet? Register   Sign In
Need help connecting to Amazon S3 storage
#3

(This post was last modified: 06-23-2021, 01:57 AM by chakycool.)

Thanks Craig, got the SDK setup.

When I'm using the upload method I'm getting memory error. Can you please point out what I'm doing wrong.

Code
$aws = service('aws')->createClient('S3',['version' => '2006-03-01']);
$aws->upload($bucketName, $uploadFileName, $file);

Error:

ErrorException #1
Allowed memory size of 134217728 bytes exhausted (tried to allocate 65015808 bytes)
Reply


Messages In This Thread
RE: Need help connecting to Amazon S3 storage - by chakycool - 06-23-2021, 12:59 AM



Theme © iAndrew 2016 - Forum software by © MyBB