I have ext-fileinfo but Composer says it is missing

前端 未结 9 1616
旧时难觅i
旧时难觅i 2020-12-03 05:12

I\'m trying to install Laravel package Intervention Image and when I run composer update:

Your requirements could not be resolved to an installa         


        
9条回答
  •  庸人自扰
    2020-12-03 05:45

    I have this exactly same problem. Fixed by going to wamp/bin folder, and searching for .ini. You will find several php.ini files.

    Edit the extension=php_fileinfo.dll line in all of them removing the ; at the begging of each. Restart WAMP, enter php -m in the command-line to check if fileinfo is there now.

    Should work.

提交回复
热议问题