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

前端 未结 13 776
被撕碎了的回忆
被撕碎了的回忆 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:51

    On docker with image php:7.2-apache I just needed zip and unzip. No need for php-zip :

    apt-get install zip unzip

    or Dockerfile

    RUN ["apt-get", "update"]
    RUN ["apt-get", "install", "-y", "zip"]
    RUN ["apt-get", "install", "-y", "unzip"]
    

提交回复
热议问题