phpcomposer-php

"The zip extension and unzip/7z commands are both missing, skipping" in Windows during Composer install of Laravel


I'm downloading Laravel on Windows through Composer and it is giving me the following error:

Failed to download symfony/process from dist: The zip extension and unzip/7z commands are both missing, skipping.

I googled a bit and most of the answers were to use the command sudo apt-get install zip unzip php-zip. But I'm using Windows and I can't find any answer relating to the issue.


Solution

  • Had the same problem too (Windows). Fixed it by;

    Open the php.ini file and uncomment ;extension=zip to extension=zip