运行“作曲家安装”时出错


error when run "composer install"

尝试为 Laravel 5 项目运行"作曲家安装"时出现此错误:

You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
  Problem 1
    - Installation request for intervention/image 2.3.4 -> satisfiable by intervention/image[2.3.4].
    - intervention/image 2.3.4 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.

我尝试将 PHP.ini xdebug 设置为 false,但仍然收到此错误。我应该怎么做才能解决此错误?如何禁用XTuTable?还是我应该做其他事情?谢谢。

这与XDEBUG无关。您只是尚未安装导致问题的扩展fileinfo

检查这个:需要外部文件信息。如何将其添加到我的 composer.json 文件中?而这个