Composer installation using SMS Ali cloud failure

installation steps

Refer to the following steps, using the installation-dependent Composer.

If the global Composer installed on your system, you can run the following in the project directory, add Alibaba Cloud Client for PHP as a dependency.
composer require alibabacloud/client

Generally speaking directly run the installation will succeed, but today it failed to install:

 

 

Solution:

This error occurs because the php.ini fileinfo extension does not open, open extension = php_fileinfo.dll, and then re-execute the command to install

 

 

 

Guess you like

Origin www.cnblogs.com/bushui/p/12059519.html