PHP extension fileinfo is missing from your system (Composer)

Missing Error while installing certain projects through Composer. “Your requirements could not be resolved to an installable set of packages”

 Problem 1
 - intervention/image 2.3.6 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
 - intervention/image 2.3.5 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
 - intervention/image 2.3.4 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
 - intervention/image 2.3.3 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
 - intervention/image 2.3.2 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
 - intervention/image 2.3.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
 - intervention/image 2.3.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.

Here’s some basic solution that might help you.

  1. Open your php.ini inside your local server under php folder.
  2. Find and un comment the following lines:

from

,extension=php_fileinfo.dll

to

extension=php_fileinfo.dll

3. Restart your local machines and try to install again.

Leave a Reply

Your email address will not be published. Required fields are marked *