我想用下面的代碼實例化亞馬遜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文件沒有從源代碼修改,所以不完全確定它爲什麼沒有找到類?