我得到这个错误试图运行“作曲家安装”一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?或者还有什么我应该做的?谢谢。
?正如它在最后一行中所说的,你错过了PHP的'fileinfo'扩展。你需要安装它。 –
即时通讯使用Windows 10,我从来没有做任何php的fileinfo扩展。 – mfathirirhas
找到你的php.ini(用于cli),然后行'; extension = php_fileinfo.dll'并删除';'也检查我的答案。 – Robert