我想用下面的代码实例化亚马逊AWS SDK PHP:困难初始化亚马逊AWS PHP SDK - 类AWS COMMON AWS没有找到
require("../aws/aws-autoloader.php");
use Aws\S3\S3Client;
use Aws\Common\Aws;
// Instantiate the client.
$aws = Aws::factory('awsConfig.php');
$s3Client = $aws->get('s3');
我可是被退回以下错误:
Uncaught Error: Class 'Aws\Common\Aws' not found
aws-autoloader文件没有从源代码修改,所以不完全确定它为什么没有找到类?