Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kestendar's avatar

intervention/image 2.3.7 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.

Command prompt Your requirements could not be resolved to an installable set of packages.

Problem 1 - intervention/image 2.3.7 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - 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. - Installation request for intervention/image ^2.3 -> satisfiable by intervention/image[2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7].

To enable extensions, verify that they are enabled in those .ini files: - C:\xampp\php\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 likes
4 replies
collabmed's avatar

Edit C:\xampp\php\php.ini and find the line containing ext-fileinfo then uncomment it. i.e remove the semicolon at the beginning of the line

hlgrrnhrdt's avatar

Did you restart xampp? PHP won't pick up config changes while it's process is running.

Mahaveer's avatar

Make sure that, you have php_fileinfo.dll is installed/available in your php\ext folder and also make sure that, the following line is not commented in php.ini file:

extension=php_fileinfo.dll

If it's commented like this: ;extension=php_fileinfo.dll

Then just remove that ; from the beginning of the line and then restart the wamp/apache server.

Update:

However, some web servers are confusing because they do not use the php.ini located alongside your PHP executable. To find out where your actual php.ini resides, look for its path in phpinfo():

After activating an extension, save php.ini, restart the web server and check phpinfo() again. The new extension should now have its own section.

Also check the Installing a PHP extension on Windows (Resolving problems) on PHP manual.

2 likes

Please or to participate in this conversation.