I'm getting this error "PHP Fileinfo extension must be installed/enabled to use Intervention Image."
when I try out the Laravel example:
Route::get('/', function()
{
$img = Image::make('foo.jpg')->resize(300, 200);
return $img->response('jpg');
});
I've uncommented extension=php_fileinfo.dll
in the php.ini file located in C:\MAMP\bin\php\php7.1.5
but that doesn't work. I restarted my PC and my MAMP after doing this. I'm hosting my website myself.
You have edited the wrong ini file.
Check the loaded ini files section of phpinfo()
.
UPDATE you edited an ini in the
bin
folder and not theconf
. Editing the one in conf should fix your issue.