skip to Main Content

so 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.

2

Answers


  1. https://www.php.net/manual/en/zip.installation.php#zip.installation.new.windows:

    As of PHP 8.2.0, php_zip.dll DLL must be enabled in php.ini. Previously, this extension was built-in.

    Login or Signup to reply.
  2. Had the same problem too (Windows). Fixed it by;

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

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search