You have installed PHP 5.3 or a later version. You can run the
php -v command to view the current PHP version. If PHP has not been installed, you can visit the PHP official website to download and install an appropriate version.
Add an empty folder
aliyun-php-sdkto your PHP project for managing SDK files centrally.
Download the entire source code from aliyun-openapi-php-sdk. Decompress the downloaded package and copy the
aliyun-php-sdk-vodfolders to the
aliyun-php-sdk/aliyun-php-sdk-core/Config.phpfile, locate “//config sdk auto load path.”, and add the following code below this line:
If new APIs or new features of existing APIs are unavailable in the current SDK version, you can update the SDK to the latest version.Then download the entire source code from aliyun-openapi-php-sdk. Decompress the downloaded package and copy the
aliyun-php-sdk-vod folders to the
aliyun-php-sdk directory to overwrite the original files. The procedure is as follows:
ChangeLog.txtfile in the
aliyun-php-sdk-vodfolders to view the downloaded SDK version (in the first line).
View the latest SDK version on the download page , as shown in the following figure.
Delete the local SDK directory.