Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch Topic

creating s3 bucket with zend

creating s3 bucket with zend  using -'amazon-web-services,zend-framework,amazon-s3'

So I am trying to upload some images to s3 but nothing seems to be working so I thought i'd try something simple -- creating a bucket.

I have this code in my controller's action:

require_once ('Zend/Service/Amazon/S3.php');
$secret   = "SecretKey";
$access  = "AccessKey"

$s3 = new Zend_Service_Amazon_S3($access, $secret);

But when I load this action and check s3 there is no bucket named test!
I am using phpstorm and the IDE says path 'Zend' not found but at the same time it says that it knows what 'new Zend_Service_Amazon_S3' is.

I'm using Zend 2.6

asked Oct 19, 2015 by deven.bendale
0 votes

Related Hot Questions

Government Jobs Opening