Laravelインストーラーをダウンロードしようとした際のエラーです。
composer global require “laravel/installer=~1.1”
↓
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
[hase_done@localhost laravel]$ composer global require "laravel/installer=~1.1" Changed current directory to /home/hase_done/.config/composer ./composer.json has been created Loading composer repositories with package information Updating dependencies (including require-dev) Package operations: 11 installs, 0 updates, 0 removals Failed to download symfony/process from dist: The zip extension and unzip command 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 - Installing symfony/process (v3.4.20): Cloning abb46b909d Failed to download psr/log from dist: The zip extension and unzip command 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 - Installing psr/log (1.1.0): Cloning 6c001f1daa Failed to download symfony/debug from dist: The zip extension and unzip command 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 - Installing symfony/debug (v4.2.1): Cloning e0a2b92ee0 Failed to download symfony/polyfill-mbstring from dist: The zip extension and unzip command 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 - Installing symfony/polyfill-mbstring (v1.10.0): Cloning c79c051f5b Failed to download symfony/console from dist: The zip extension and unzip command 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 - Installing symfony/console (v3.4.20): Cloning 8f80fc39bb Failed to download guzzlehttp/promises from dist: The zip extension and unzip command 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 - Installing guzzlehttp/promises (v1.3.1): Cloning a59da6cf61 Failed to download ralouphie/getallheaders from dist: The zip extension and unzip command 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 - Installing ralouphie/getallheaders (2.0.5): Cloning 5601c8a83f Failed to download psr/http-message from dist: The zip extension and unzip command 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 - Installing psr/http-message (1.0.1): Cloning f6561bf28d Failed to download guzzlehttp/psr7 from dist: The zip extension and unzip command 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 - Installing guzzlehttp/psr7 (1.5.2): Cloning 9f83dded91 Failed to download guzzlehttp/guzzle from dist: The zip extension and unzip command 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 - Installing guzzlehttp/guzzle (6.3.3): Cloning 407b0cb880 Failed to download laravel/installer from dist: The zip extension and unzip command 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 - Installing laravel/installer (v1.3.4): Cloning 504bde5b25 symfony/console suggests installing psr/log-implementation (For using the console logger) symfony/console suggests installing symfony/event-dispatcher symfony/console suggests installing symfony/lock Writing lock file Generating autoload files |
zipのエラーだったのでzipをインストール
1 |
# yum install -y zip unzip |
完