I\'m trying to install Laravel package Intervention Image and when I run composer update:
Your requirements could not be resolved to an installa
Depending on your platform, there may be more php.ini, if you are using Wamp, then there are two:
Make sure the extension is uncomented in both and then restart apache again.
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.
If anyone is wondering how to do this in cpanel (linux based) , just search select php version in search box and click on it and next screen you will your current php version and next you see lots checkboxes with some values , So here now you can check phpinfo and click on save to avoid your composer error.