Я пытался установить Laravel с Composer на своем терминале Debian 9 с
composer global require laravel/installer
Но я получаю следующие ошибки:
Using version ^3.0 for laravel/installer
./composer.json has been created
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- laravel/installer v3.0.1 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- laravel/installer v3.0.0 requires ext-zip * -> the requested PHP extension zip is missing from your system.
- Installation request for laravel/installer ^3.0 -> satisfiable by laravel/installer[v3.0.0, v3.0.1].
To enable extensions, verify that they are enabled in your .ini files:
- /opt/lampp/etc/php.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
Installation failed, deleting ./composer.json.
Я пытался установить PHP ext Расширение Zip с:
apt-get install php7.4-zip
и
apt-get install php-zip
, а также отредактируйте файл php .ini, раскомментировав следующие строки:
extension=php_zip.dll
extension="zip.so"
Но ничего не работает и у меня такие же ошибки ...