03/07
2018
Wallogit.com
2017 © Pedro Peláez
Fork from https://github.com/aliyun/aliyun-openapi-php-sdk
We have released a new SDK that supports Composer and gradually stop maintenance this version. Welcome to the new SDK: Alibaba Cloud SDK for PHP, (*1)
include_once '../aliyun-php-sdk-core/Config.php';
use Ecs\Request\V20140526 as Ecs;
$iClientProfile = DefaultProfile::getProfile("cn-hangzhou", "<your accessKey>", "<your accessSecret>");
$client = new DefaultAcsClient($iClientProfile);
$request = new Ecs\DescribeRegionsRequest();
$request->setMethod("GET");
$response = $client->getAcsResponse($request);
print_r($response);
licensed under the Apache License 2.0, (*2)