PHP error: “The zip extension and unzip command are both missing, skipping.”

前端 未结 13 792
被撕碎了的回忆
被撕碎了的回忆 2020-12-12 13:12

When I run a composer update I get this error message:

Loading composer repositories with package information
Updating dependencies (including r         


        
13条回答
  •  情歌与酒
    2020-12-12 13:41

    Depending on your flavour of Linux and PHP version these may vary.

    (sudo) yum install zip unzip php-zip
    (sudo) apt install zip unzip php-zip
    

    This is a very commonly asked question, you'll be able to find more useful info in the aether by searching php zip extension.

提交回复
热议问题