LoginSignup
3
4

More than 5 years have passed since last update.

lumen をcomposer経由でインストールしようとした時のエラー

Posted at

lumen をcomposer経由でインストールしようとした時のエラー

$ composer global require "laravel/lumen-installer”

実行した時に下記のエラーが。

Failed to download guzzlehttp/promises from dist: The zip extension and unzip command are both missing, skipping.
The php.ini used by your command-line PHP is: /etc/php.ini
Now trying to download from source
- Installing guzzlehttp/promises (v1.3.1)
Cloning a59da6cf61d80060647ff4d3eb2c03a2bc694646

単純にzipとunzip使えませんって言うエラーですね。
zipとunzipコマンドインストールして再実行するだけで解決しました。

$ sudo yum install -y zip unzip
$ composer global require "laravel/lumen-installer”
3
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
4