level 1
Lover欣欣
楼主
各位大神,小弟刚刚开始接触
require_once("vendor/autoload.php");
use Aws\S3\S3Client;
$config = array(
'key'=>'xxxx‘,
'secret'=>'xxxx',
'region'=>'Beijing'
);
$s3 = S3Client::factory($config);
一直报错
Fatal error: Uncaught exception 'Aws\Common\Exception\InvalidArgumentException' with message 'Could not find an endpoint for the s3 service in the Beijing region' in E:\wamp\www\composer\vendor\aws\aws-sdk-php\src\Aws\Common\Region\XmlEndpointProvider.php on line 100
求帮助 求指教 万分感谢;
2016年01月29日 09点01分
1
require_once("vendor/autoload.php");
use Aws\S3\S3Client;
$config = array(
'key'=>'xxxx‘,
'secret'=>'xxxx',
'region'=>'Beijing'
);
$s3 = S3Client::factory($config);
一直报错
Fatal error: Uncaught exception 'Aws\Common\Exception\InvalidArgumentException' with message 'Could not find an endpoint for the s3 service in the Beijing region' in E:\wamp\www\composer\vendor\aws\aws-sdk-php\src\Aws\Common\Region\XmlEndpointProvider.php on line 100
求帮助 求指教 万分感谢;