Failed to download mtdowling/jmespath.php from dist: The zip extension and unzip command are both missing, skipping.
우분투 php-zip 설치

1 확인[편집]

root@zetawiki:~# php -m | grep zip
root@zetawiki:~# apt list php-zip
Listing... Done
php-zip/xenial,xenial 1:7.0+35ubuntu6 all

2 설치[편집]

root@zetawiki:~# apt install php-zip
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libzip4 php7.0-zip
The following NEW packages will be installed:
  libzip4 php-zip php7.0-zip
0 upgraded, 3 newly installed, 0 to remove and 34 not upgraded.
Need to get 58.1 kB of archives.
After this operation, 198 kB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 libzip4 amd64 1.0.1-0ubuntu1 [36.3 kB]
Get:2 http://kr.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 php7.0-zip amd64 7.0.15-0ubuntu0.16.04.4 [19.9 kB]
Get:3 http://kr.archive.ubuntu.com/ubuntu xenial/universe amd64 php-zip all 1:7.0+35ubuntu6 [1,928 B]
Fetched 58.1 kB in 0s (175 kB/s)    
Selecting previously unselected package libzip4:amd64.
(Reading database ... 108095 files and directories currently installed.)
Preparing to unpack .../libzip4_1.0.1-0ubuntu1_amd64.deb ...
Unpacking libzip4:amd64 (1.0.1-0ubuntu1) ................................................] 
Selecting previously unselected package php7.0-zip.......................................] 
Preparing to unpack .../php7.0-zip_7.0.15-0ubuntu0.16.04.4_amd64.deb ...
Unpacking php7.0-zip (7.0.15-0ubuntu0.16.04.4) ..........................................] 
Selecting previously unselected package php-zip..........................................] 
Preparing to unpack .../php-zip_1%3a7.0+35ubuntu6_all.deb ...
Unpacking php-zip (1:7.0+35ubuntu6) ...###########.......................................] 
Processing triggers for libapache2-mod-php7.0 (7.0.15-0ubuntu0.16.04.4) .................] 
Processing triggers for php7.0-fpm (7.0.15-0ubuntu0.16.04.4) ...
Setting up libzip4:amd64 (1.0.1-0ubuntu1) ...
Setting up php7.0-zip (7.0.15-0ubuntu0.16.04.4) ...################......................] 
Progress: [ 75%] [######################################################.................] 
Creating config file /etc/php/7.0/mods-available/zip.ini with new version
Setting up php-zip (1:7.0+35ubuntu6) ...####################################.............] 
Processing triggers for libc-bin (2.23-0ubuntu7) ...#################################....] 
Processing triggers for libapache2-mod-php7.0 (7.0.15-0ubuntu0.16.04.4) ...
Processing triggers for php7.0-fpm (7.0.15-0ubuntu0.16.04.4) ...

3 확인 2[편집]

root@zetawiki:~# php -m | grep zip
zip
root@zetawiki:~# apt list php-zip
Listing... Done
php-zip/xenial,xenial,now 1:7.0+35ubuntu6 all [installed]

4 참고 자료[편집]