我正在尝试AWS SDK for PHP 2
与Yii Framework
. 我下载了 ZIP AWS SDK 并解压到:/protected/vendors/aws
public function actionTestS3() {
Yii::import('application.vendors.aws.aws-autoloader');
$client = S3Client::factory(array(
'key' => 'XXXX',
'secret' => 'YYYY',
));
}
错误:
include(S3Client.php): failed to open stream: No such file or directory
它没有正确加载,有人可以帮我找到如何做到这一点吗?