以下のコードはPHP 5.3.6で動作し、PHP 5.3.1では動作しません。 このファイルを実行すると、空のページが表示されます。 AWS SDK for PHP requirements page(強調鉱山)からAWSコードはPHP 5.5.6では動作しますが、PHPでは動作しません5.3.1
use Aws\S3\S3Client;
use Aws\S3\Exception\S3Exception;
$bucket = 'report160316';
$keyname = 'xxxxxxxxxxxxxxx';
$secret = 'xxxxxxxxxxxxxxxxxxxx';
// Instantiate the client.
$s3 = S3Client::factory([
'key' =>$keyname,
'secret' =>$secret,
]);
you..iは別のサーバーPHP 5.3.3が、cURLのバージョンは7.15.5 AWSが仕事をしたりしませんで持って感謝.. ???? – sridhard