我试图运行" 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,但仍然出现此错误。我该怎么做才能解决这个错误?如何禁用xdebug?或者我还有什么应该做的吗?感谢。
答案 0 :(得分:2)
这与XDEBUG无关。您还没有安装导致问题的fileinfo
扩展程序。
选中此项:requires ext-fileinfo. How do I add that into my composer.json file?和this