-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
I've the following script that works just fine when I run from the terminal but for some reason it crashes with php-fpm + apache every time.
<?php
require 'vendor/autoload.php';
use Aws\S3\S3Client;
$client = S3Client::factory(array(
'version' => 'latest',
'region' => 'us-east-1',
));
$result = $client->listBuckets();
foreach ($result['Buckets'] as $bucket) {
// Each Bucket value will contain a Name and CreationDate
echo ("{$bucket['Name']} - {$bucket['CreationDate']}\n");
}
Metadata
Metadata
Assignees
Labels
No labels