Composer update error - zip extension and unzip/7z commands are both missing

By generating Scripts… I get the following error message:

All files generated. (0,978 seconds)
Checking PHP CLI...
Running composer update -n --ignore-platform-req php...
Loading composer repositories with package information
Info from https://repo.packagist.org: #StandWithUkraine
Updating dependencies
Nothing to modify in lock file
Installing dependencies from lock file (including require-dev)
Package operations: 53 installs, 0 updates, 0 removals
    Failed to download paragonie/random_compat from dist: The zip extension and unzip/7z commands are both missing, skipping.
The php.ini used by your command-line PHP is: C:\php\php.ini
    Now trying to download from source
In GitDownloader.php line 82:
  git was not found in your PATH, skipping source download
update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-i|--interactive] [--root-reqs] [--] [<packages>...]
node:internal/errors:867

Solved - I finally found it:I have had to enableextension=zipin the php.ini file.Now it works.

Not found any extension=zip
3D

You may read PHP docs about Zip.