This problem is driving me crazy, when I tested my codeigniter applicacion in local server everything was ok then I uploaded it in AWS EC2 (Ubuntu server) but when I try to upload a Image to AWS S3 from AWS EC2, I get a error 500. I use the library https://github.com/psugand/CodeIgniter-S3, somebody have used aws s3 and aws ec2 with a codeigniter app, I need its advice.
the error appear when this code is run:
$this->load->library('s3');
$this->s3->putObject($this->s3->inputFile($file,false),
$Bucket,
$name,
self::ACL_PUBLIC_READ);
I think that codeigniter is not connecting with AWS S3.
Thank you