My task is to make an application using AWS Elastic Beanstalk and S3 where an Image can be uploaded/deleted from the user.
I am using the BlueImp library : "https://github.com/blueimp/jQuery-File-Upload"
as well as the modified version of UploadHandler.php :"https://gist.github.com/tim-peterson/8172999"
I have installed aws-php-sdk using Composer inside the application and created a config.php file as follows:
<?php return[
's3' => [
'key' => '***',
'secret' => '***',
'region' => 'eu-west-1',
'bucket' => 'my-bucket'
]];?>
But when I try to upload an Image it shows an error : "500 (Internal Server Error)"
Any ideas why?
Thanks in advance!