This topic describes the prerequisites for installing ApsaraVideo VOD SDK for PHP. It also describes how to install, update, and uninstall the SDK.
PHP 5.3 or later is used. You can run the
php -v command to query the current PHP version. For more information about how to install PHP, visit the PHP official website.
Install the SDK
- Create a folder aliyun-php-sdk in your PHP project to centrally manage SDK files.
- Download the source code at aliyun-openapi-php-sdk. Decompress the downloaded package and copy the aliyun-php-sdk-core and aliyun-php-sdk-vod folders to the aliyun-php-sdk directory.
Update the SDK
- Open the ChangeLog.txt file in the aliyun-php-sdk-core or aliyun-php-sdk-vod folder. The first line of the file indicates the SDK version.
- View the latest SDK version on the download page.
Note The versions shown in the figures are only for reference. The actual versions prevail.
Uninstall the SDK
You can delete the local SDK directory to delete the SDK.