2017-11-25 130 views
-2

因爲我想創建個人資料圖片用戶配置文件,但是當我寫作曲家需要介入/圖像在終端我得到這個錯誤:我想創建圖像干預

- intervention/image 2.4.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. 
- intervention/image 2.4.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. 
- Installation request for intervention/image ^2.4 -> satisfiable by intervention/image[2.4.0, 2.4.1]. 

To enable extensions, verify that they are enabled in your .ini files: 
- C:\AppServ\php5\php.ini 
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode. 

Installation failed, reverting ./composer.json to its original content. 
+0

您到目前爲止嘗試了什麼? – Camilo

+0

我從php.ini中刪除了extension = php.dll – cugurel

+0

我取消註釋了它。 – cugurel

回答

0

確保你的php/ext文件夾中有php_fileinfo.dll。然後在您的php.ini中取消註釋此行

extension=php_fileinfo.dll