如何在安装 Laravel 时解决此问题。

huangapple go评论79阅读模式
英文:

How to Solve this issue while installing laravel

问题

"Failed to download laravel/laravel from dist: The zip extension and unzip/7z commands are both missing, skipping. The php.ini used by your command-line PHP is: C:\xampp\php\php.ini

i tried as per documentation

this is the error message which i got"

英文:

>Failed to download laravel/laravel from dist: The zip extension and unzip/7z commands are both missing, skipping. The php.ini used by your command-line PHP is: C:\xampp\php\php.ini

i tried as per documentation

this is the error message which i got

答案1

得分: 0

你需要确保你已经安装了 PHP 的 zip 扩展。这个扩展允许 PHP 处理 zip 文件。另外,你应该检查你的系统上是否正确设置了 unzip 或 7z 命令。

英文:

You'll need to make sure you have the zip extension installed for PHP. This extension allows PHP to work with zip files. Additionally, you should check if you have the unzip or 7z commands properly set up on your system

huangapple
  • 本文由 发表于 2023年6月29日 15:24:22
  • 转载请务必保留本文链接:https://go.coder-hub.com/76578865.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定