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.
Had the same problem too (Windows). Fixed it by;
Open the php.ini file and uncomment ;extension=zip
to extension=zip
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With