我得到這個錯誤試圖運行「作曲家安裝」一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