composer install 出现 The zip extension and unzip/7z commands are both missing, skipping

Song79 次浏览0个评论2021年10月31日
使用composer install 提示The zip extension and unzip command are both missing, skipping

使用composer install 提示The zip extension and unzip command are both missing, skipping

Failed to download qiniu/php-sdk from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source

- Syncing qiniu/php-sdk (v7.4.1) into cache
    Failed to download aliyuncs/oss-sdk-php from dist: The zip extension and unzip/7z commands are both missing, skipping.
Your command-line PHP is using multiple ini files. Run `php --ini` to show them.
    Now trying to download from source

解决办法

# unbuntu
sudo apt-get install zip unzip

# centeros
sudo yum install zip unzip

提交评论

请登录后评论

用户评论

    当前暂无评价,快来发表您的观点吧...

更多相关好文